CHICAGO, Oct 19 (Reuters) - The U.S. Commodity Futures Trading Commission has agreed to settle a lawsuit it brought against a trader and his firm for allegedly using a banned trading tactic known as "spoofing" to manipulate markets, a court document filed on Wednesday showed.