Thousands of Afghans set to be relocated from Pakistan to the United States before President Donald Trump halted refugee arrivals are now at risk of arrest and deportation.