Flatten sets when composing a composed set

This reduces needless recursion as BestSet is a ComposedSet that is
itself composed with other sets during gem.deps.rb resolution.