TreeHouse to pay $27M to settle class action following 2016