With his crackdown on Chinese telecom giant Huawei Technologies Co. and a new directive targeting European and Japanese carmakers, his administration is displaying its penchant to invoke U.S. national security in the broadest way possible. In doing so Trump is exploiting a loophole in global trading rules and doing what his predecessors spent years urging China and others not to at the risk of opening a protectionist Pandora’s box.