The moresanehumane thing to do would be to work with the patron countries to make entrance to the United States easier and more controlled. It would mean less strain on the court system and detention facilities, and far less overall cost at taxpayer expense. Plus, you'd be getting new Americans instead of illegal migrants.
Yes, the issue is immigration, not taking children from certain families. It's a great example of how philosophically void our culture is.