Reset element links to processes before deleting an element
Refs https://gitlab.com/teklia/requests/-/issues/826
An API user should be able to delete an element even if it's linked to a process through a foreign key (as training folders).
This means the process will lose some information (key becomes null), but we can't really allow to delete a process directly in that case as we may lose models & artifacts...