fixed deallocate_local_contiguous code gen bug