Six months ago, the International Monetary Fund (IMF) shook off years of being relegated to irrelevance as it scrambled to put together emergency loans for countries hit by the first wave of the financial crisis, including Iceland and Pakistan.