GetDAG duplicate block fix.

GetDAG didnt properly handle DAGs with the same block appearing twice in its links, now it does.
what's `devZero` mean?