Trading pieces doesn’t mean simply eliminating pieces of equal value. In the endgame, it can create a decisive advantage—or save a game that appears hopeless.