Ghana reaches $3bn deal with IMF