Hamas leader says deal with Fatah close