Implemented IReducible<T> also for map and set.

The enumeration by reduction is probably even faster
than with normal IEnumerable<T> implementation.