v.21.7Bug Fix

Fix potential parts loss with UUID as partition key after updating to 21.5

Fix possible parts loss after updating up to 21.5 in case table used UUID in partition key. (It is not recommended to use UUID in partition key). Fixes #25070. #25127 (Nikolai Kochetov).