Key states move closer to foreclosure-abuse deal