[boxing-optimization] Changed strategy from enumeration of unsafe operations to permitted + INSTANCEOF added