Pakistan agrees to IMF bailout conditions