Spain Approves Historic Plan to Legalize 500,000 Undocumented Migrants