Simplify RemoveEdge.