Israeli firms based on their founders’ army experience inject hundreds of millions of dollars into the private sector. In good times, they cash in big by selling their companies.