Caused by rBbbe6d4492823: Cycles: optimize device updates.
Regular object ray visibility updates will get detected through
dependency graph (is_updated_shading / is_updated_transform), that is
why these update correctly (objects are in recalc map).
Objects in collections that had their 'Indirect Only' property toggled
however arent. Now tag for update as well if their visibility changed
(through the 'Indirect Only' property of a collection they are in).
Not exactly sure if this should be handled on the dependency graph side
instead?