The US action came just days before Prime Minister Narendra Modi's visit to Washington to hold wide-ranging talks with President Donald Trump.