ZkCoordinator: Make addSegment, addSegments idempotent