Emma Raducanu's encouraging Miami Open run comes to an end with a quarter-final defeat by fourth seed Jessica Pegula.