India was among the top four countries to gain when the United States hiked tariffs on Chinese goods during Donald Trump’s first term.