French government resigns stays on for now in caretaker role