Remove dead code (edge_set and related functions).