The measure, transferring detainee legal assistance to a state agency and private lawyers, now moves to the National Assembly under expedited review.