Donald Trump was certain to disappoint some of his most ardent anti-immigration supporters when he said a few days ago that he supports the federal law that allows high-skilled foreigners into the United States on a temporary work visa to fill job openings at technology companies.