Remove invalidate from CFGBuilder and resetCFG from IRScope since these actions are not possible