The mounting cases of violent acts involving veterans of the armed forces continue to raise concerns among those who monitor extremists — and some say the military isn’t doing enough to root them out. But military officials caution not to paint all veterans with a broad brush.