[boxing-optimization] Refactoring: split specific logic into RedundantBoxedValuesCollection class