The failure to save Greece from becoming the first advanced economy to default on an IMF loan lays bare not only the extreme difficulties for the country and its creditors to find a way out but also the looming menace of widespread overleveraging to the fragile global recovery.