Companies know that discrimination, whether overt or subtle, is bad for employees and bad for business.