Companies are bringing in retired military brass to navigate Washington and win Pentagon contracts.