DEI laws have been under attack for years by Republicans who contend that it threaten merit-based hiring, promotion and educational opportunity for white men.