fetch: do not count inactive branches when inferring a merge
The fetch extension would erroneously consider inactive branches when
inferring which branches to merge. It now considers only active
branches.
created new headdigraph G { -1 -> 0 0 -> 1 0 -> 2 2 -> 3 1 -> 3}