Hamas nears disarmament deal as Israel demands full demilitarization