7374: process n < 10 in factorint even when limit > 1

fixes #7374 

(commit in 24h if no objection)