Many thanks! I need to write these examples for a research paper on Bach's solo violin music, so I'm only trying to follow the edition I have as closely as possible; as we know, Bach insisted on having separate stems for all the notes in a chord. For this purpose it's correct, even if it's an outdated practice.
If anybody knows how to connect staves with doted barlines, please let me know.