When Boris Yeltsin suddenly resigned as Russia’s first post-Communist president on New Year’s Eve, 1999, his country seemed to be spiralling downhill into economic and political disintegration.