Following the formal approval of Spain's controversial migrant amnesty, up to 800,000 undocumented migrants could gain legal residency in the country. With that comes the right to a number of state benefits.