Wells Fargo to pay $1.2bn over mortgage insurance scam