Deal for Hamas to disarm in stages in return for Israeli withdrawal has been announced, but implementation will be key.