Trump’s trade war ended up hurting American pocketbooks and respect for the rules.