Murray survives, Raonic into semis