The new Pentagon chief had accused CQ Brown of a "woke" focus on diversity, equity and inclusion programmes.