I wouldn’t bother syncing the legacy location if you’re moving to CloudKit.
- Disable legacy on the other devices.
- Clean the legacy location on the Mac.
- Enable CloudKit in DEVONthink on the Mac and sync to it.
- Enable Cloudkit on the other devices and sync with it.