Improve split_paragraphs().