You can do this with regex pretty simply:
Open find/replace dialog and type as follows:
Search: ^$\r\n
Replace: empty (i.e. leave blank!)
Check regex at bottom of dialog. Replace all should remove all empty lines from the file.