Chapters: merge editions when splitting by parts

See #831: part of the bug fix.