An easy way to solve this issue would be to just liberalize the whole immigration process: for e.g. software development, research and any technical field, make it equally easy to hire either Americans or foreigners (whichever person is best for the role) on the basis of competence only. That would make the process more fair both to Americans and non-nationals and would ensure the best person for the job gets retained, rather than either the one lucky enough to be born on one side of an imaginary line, or the foreigner who might be hired simply because cheaper/harder to leave company.