The long term solution is to fortify the border and remove the invaders.
Any questions?
All Arizona and Alabama had to do was enforce federal law and the illegals left of their own accord.