Jordan's king accepts premier’s resignation