Jordan's Prime Minister resigns after protests