A growing number of businesses are recruiting from a bumper crop of well-trained officers and enlisted people transitioning out of the military.