Added optimizations for theorem search during 'parallel' unification