Human rights groups – and parliament’s own human rights committee – say a new law pushed through parliament gives the government the power to indefinitely detain refugees, potentially for the rest of their lives.