v.22.10Bug Fix

Fixed 'Directory already exists and is not empty' Error in ReplicatedMergeTree Replication

Fixed "Directory already exists and is not empty" error on detaching broken part that might prevent ReplicatedMergeTree table from starting replication. Fixes #40957. #41981 (Alexander Tokmakov).