Egyptian PM, government resign