Improve representation of sets.

- empty set is still empty vector

- non-empty set is vector of length 2, where ref 1 is base, and ref 2
  is list of members.

Suggested by @dfried00 and @jasonhemann