Technological Superiority and the Losses from Migration