Both chains stopped serving potentially contaminated peppers after hundreds of consumers across 27 states fell ill.