coalescing edges/statements when orthologizing

i.e. if multiple edges exist for the same triple (source, rel, target) then
the duplicate edge's statements will remap to the first edge in the set.
the duplicate edges will then be removed.