/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.