A long-running class action brought by KFC workers alleging they were denied payments for breaks has been settled for $28.8 million.