Corrected a type in DistEvalImpl::perm_index.