Ok, then find another way to measure developer productivity, or reliability in production, or customer features delivered.
If you can’t find a measurable benefit to a refactoring (or anything else, really) then maybe it was not worth doing in the first place.