zip parallel edges for nx.DiGraph() in algorithms.graph.merge_paths()