Pakistan, IMF reach agreement on $3B bailout