Simona Halep spillede sig i Roland Garros-finalen med en sejr i to sæt over Garbine Muguruza.