I havent tested it, but I think you can use text processing for this.
Use replace function, select regex try this regex ^\s*$..And replace with leave as empty.
1. In list processing - Merge list items
2. In word processing - Replace - What to search: \n\r - Regex option clicked
3. In list processing - Add line