Trump revoked a decades-old executive order saying federal contractors must take affirmative action to avoid discrimination in hiring and employment.