End of legal aid's immigration work slammed for leaving newcomers in lurch