Soldiers, firefighters, prison guards and the police will be able to retire early under France’s planned pension overhaul, the prime minister said on Wednesday.