France's President Emmanuel Macron on Tuesday accepted the resignation of Prime Minister Gabriel Attal's government, which will now remain only in a caretaker capacity, the presidency said.