Wells Fargo pays $575 million to settle state investigations