US baker Flowers Foods has settled a class action lawsuit brought against the company by US distributors in March 2013.