Wells Fargo to pay $1 billion to settle shareholder lawsuit over recovery from scandals