The firings are the first of what is expected to be a vast wave of layoffs by the Pentagon.