dedup_cumulative_edgelist function

Deduplicate a cumulative edgelist by combining overlapping edges