Halep retires with leg injury, Bouzkova into Rogers Cup semis