Judge allows requirement that everyone in the US illegally must register to move forward