‘We agreed to the plan in principle based on its main points, but its implementation requires negotiations,’ a senior Hamas official told Al Jazeera