French prime minister resigns amid mounting criticism over new Cabinet