v.18.12Bug Fix

Fixed bug in merging CollapsingMergeTree tables with empty data parts using vertical algorithm

Fixed a bug when merging CollapsingMergeTree tables if one of the data parts is empty (these parts are formed during merge or ALTER DELETE if all data was deleted), and the vertical algorithm was used for the merge. #3049