Handle the situation where CodeGenPrepare removes a reference to a BB that has