The possible purge of officers comes as the agency moves to comply with the spirit of an executive order banning efforts to diversify the federal work force.