Palestinian prime minister, government resign