Jordan PM resigns after protests over tax bill