Trump also closed a trade loophole that had allowed low-value packages from China to enter the US duty-free.