IMF reaches $3bn agreement with Ghana