Trump’s shift on the TPP is the latest example of his confounding trade policy