Campaigners and lawyers say an immigration bill extending search powers and curtailing appeal rights should not proceed in its current form.