v.23.2Performance Improvement

Allow Vertical Merge Algorithm with Compact Format for Memory Efficiency

Allow using Vertical merge algorithm with parts in Compact format. This will allow ClickHouse server to use much less memory for background operations. This closes #46084. #45681 #46282 (Anton Popov).