The agreement will resume lending to the West African nation, after the IMF froze its funding two years ago due to the discovery of billions of dollars in undisclosed loans.