Clear solution.  All refugee claimants must be processed at recognized entry points.  All illegal migrants who cross elsewhere must be transported to these points and then processed.  Since the US is a safe country the vast majority will be turned over to the US.
End of story.