Hillary Clinton’s newfound opposition to the Trans-Pacific Partnership is another chapter in the long story of Democrats campaigning one way on trade, and governing another.