NEW YORK — Wells Fargo agreed Friday to expand a recently settled class-action lawsuit by an additional $32 million as well as extend claims for fraudulent accounts that may have been opened going back to 2002. The bank said it will now pay $142 million to customers for damages caused by any accounts opened without their customers’ permission.