v.25.10Bug Fix (user-visible misbehavior in an official stable release)

Fix LOGICAL_ERROR

Backported in #89058: Fixed LOGICAL_ERROR in L2DistanceTransposed(vec1, vec2, p) where the optimisation for partial QBit reading incorrectly removed Nullable from the return type when p was Nullable. #88974 (Raufs Dunamalijevs).