The settlement comes after three years of legal battles between Wells Fargo and consumers over a GAP insurance dispute.