Close the border until further notice. Nothing in, nothing out. All cash transfers to Mexico suspended until further notice. For every illegal that try to enter ten will be deported. Anyone trying to enter will NEVER be allowed to gain citizenship in the USA.
Federal courts would issue injunctions before the ink is dry.