Spain’s socialist government champions immigration not only for humanitarian reasons but as an economic growth strategy.