refs: rename constant `REF_ISPRUNING` to `REF_IS_PRUNING`