The announcement of the removals came as the Pentagon was intensifying efforts to identify and combat white supremacy and other far-right extremism in its ranks.