A blanket law that forces all companies to hire employees without considering information they think is important is really inefficient. Just recently, governments and people were complaining that rideshare companies weren't being exclusive enough! If you think new laws will find the optimal policy for all companies, you are incorrect!
It's also overreaching. Freedom of association is important. The owner of a Jewish deli shouldn't be compelled to hire a formerly convicted neo-Nazi.