[1140806] Starting agent with disabled plugin types in inventory causes 'Could not load inventory from data file' error
Change removeIgnoredResourcesFromChildren() to avoid using Iterator.remove
because it is not supported in our underlying CopyOnArraySet impl type.
-- also, don't recurse on ignored children, that branch is already chopped
   off at the head.