Implemented iterator for various smart maps types, enabling reduce to work properly.
Imported MapEntry and SeqIterator for succincterness.
Implemented transient for SetMaps. With a micro-benchmark based on the into function, this improves performance by almost 50%.