The results confirm the French leader faces a tricky second term, our Paris correspondent writes.