IR: Fix ConstantArray::replaceUsesOfWithOnConstant()