Description: The edge function of an undirected pseudograph is a function into
unordered pairs of vertices. Version of upgrfn without explicitly
specified domain of the edge function. (Contributed by Mario Carneiro, 12-Mar-2015)(Revised by AV, 10-Oct-2020)