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

Add checks for sharding_key during ALTER

Add checks for sharding_key during ALTER of the Distributed table. Previously incorrect ALTER would break the table definition and server restart. #86015 (Nikolay Degterinsky).