"Why don’t we just close the loophole and send them back to the US?"

America isn't going to take them back. Why should it? If they were in America legally they wouldn't be leaving, in spite of whatever lies the gullible fools on the left believe about their destination always having been Canada.