40-plus states agree to robo-signing settlement