Mahmood faces Labour revolt as she defends immigration reforms