Liberating them is probably pretty complicated, and I would love to see that happen, but preventing more becoming indentured (at a cost to the local labor market) probably is a legal switch.
We've had other forms of indentured servitude that were summarily abolished, sometimes with difficulty. Certainly the government should not be incentivizing this, which seems to have been the case for a while.