Pakistan, IMF agree on actions to stave off economic crisis