Emma Raducanu needed medical treatment towards the end of the second set Emma Raducanu's encouraging Miami Open run came to an end in a narrow quarter-final defeat by world number four Jessica Pegula.