prime minister resigns