Cruz attacks O'Rourke on immigration