The chain rejected activist investor Nelson Peltz’s offer, saying it “substantially undervalues” the company.