The Mexican government said that it disagreed with “this unilateral measure” but that it would take in people who are applying for asylum in the United States.