Hamas said Sunday it had agreed to steps toward resolving a decade-long split with Palestinian president Mahmud Abbas’s Fatah, announcing it would dissolve a body seen as a rival government and was ready to hold elections.