A group that includes the restaurant’s founders will buy restaurants from the private equity firm that owns many locations of the chain.