Shabana Mahmood has insisted it is not “racist” to make illegal migrants wait 20 years for the right to settle permanently in Britain.