He didn’t reverse anything. He created an executive order that (unconstitutionally) contradicts current legislation. Zero-Tolerance was about prosecution, kids getting separated was a mix of past legislation and court rulings.

He and everyone else knows that executive order is going to get shot down soon, and then congress will be entirely to blame for not fixing this, which was his plan all along.