The e-commerce site acted after the Trump administration said it would close a loophole that allowed low-cost Chinese-made items to enter the U.S. without import fees.