Simplify divisors from factors