/bi/: Deleting process should remove references

This patch makes sure that when a process is
deleted, all references to this process from other places are
also deleted.
Merge pull request #489 from opinkerfi/fix-bi-delete

/bi/: Deleting process should remove references