By Suzanne Barlyn
Aug 22 (Reuters) - Merrill Lynch has reached a settlement in a class action lawsuit that is part of its ongoing battle with thousands of former brokers seeking deferred compensation, according to a regulatory filing.