Fixed deallocation of processes from partitions