Implements Extend for LruCache and EnumSet

Also removes the dependency of FromIterator for Extend
Part of #18424