do not use None in factor_list

The None tracked a term that should not be extracted
if the exponent assumptions didn't allow. But this has
to be handled differently since the "k" value is needed
if the assumptions do allow.
Merge pull request #2791 from smichr/2787

do not use None in factor_list