Fox: French prime minister resigns less than month after taking office