fixup! Simplify refs.ReachableFrom() implementation