Identifying and removing redundant empty lines (consecutive newlines).