You're assuming that they'd be on easy street if those jobs weren't available. You're wrong. While those jobs are crap, those folks are worse off without them.
You can't make their lives better by taking away options. You can only make their lives better by providing better options.
In general, there's all sorts of non-governmental power structures that pressure people into making decisions that aren't in their own best interests. Governmental intervention is always a hacky solution in programming terms, and often counter-productive, but there's legitimate areas where it's actually worked. How would you deal with child labor?
If the kids want to be fed, the family must have sufficient resources.
Do you really think that the family will be better off if the kids don't work? How do you know better than the parents?
Seriously - I want an answer, complete with relevant details. How are those families going to have sufficient resources, food, shelter, etc, without the kids working?
Note that your answer can't depend on anything other than keeping the kids from working, as providing additional resources from the outside can happen whether or not the kids work.
> How would you deal with child labor?
You're assuming that child labor is the biggest problem. It almost never is. In fact, it's typically a result of other worse problems.
And, pushing child labor underground makes it even worse.