The Trump administration is preparing to begin the transfer of potentially thousands of foreigners who are in the United States illegally to the U.S. military base in Guantánamo Bay, Cuba, starting as early as this week, said U.S. officials familiar with the matter.