I think this should work. Keep in mind it isn't tested. If you don't want the starter to drop out when safe opens, pull control power from 4a instead of 4. You could also use a KUP relay for up to speed but a lot of OEMs do it like this.

Let me know how it goes so I can edit the print for future reference.

EC Softstart Wiring