The Labour government is tightening its immigration policy under pressure from far-right groups and growing social unrest.