Improve Set printing

This solution was actually proposed by @stevengj on #7153

I'm just submitting it to get the ball rolling, or rolled.