Over two centuries after the removal of the capital to Beijing, Nanjing was destined to become the capital of a Ming emperor one more time