The world financial system is teetering on the “brink of systemic meltdown”, the IMF has warned.