Using ethnicity, gender or sexual orientation for layoffs is already illegal.
Saying you want to hire a white guy even sounds illegal. But saying you want to hire a minority is applauded.
I can imagine this same rule can slowly slide to allow for firing certain people as long as it protects the current protected class.