Perhaps a blanket Presidential pardon for anyone who committed the crime of illegal entry/visa overstay.
Tells them to report to their nearest homeland security office to register as a permanent legal alien and get a SSN while waiting for their citizenship package to be prepared/processed.
They could be pardoned but still would be liable to being sent away if there was still a rule of law. Pardoning isn’t excusing.