Wells Fargo agrees to pay $42 million to settle discrimination complaint