France gets a more right-wing government after weeks of uncertainty