config: don't special-case the multivar iterator

Build it on top of the normal iterator instead, which lets use re-use
a lot of code.