Country finalising amnesty for up to 500,000 undocumented workers in key sectors such as tourism and agriculture