If Monday’s deal is a logical destination for President Trump’s China policy, the journey there has been anything but logical, writes Greg Ip