ncm-spma: yum-based spma retry transaction with certain types of error

ncm-spma: Improve the working of yum-based spma in certain error conditions by retrying the transaction
This case should not happen. `spare_deps` does recursive dependency lookup. If it's not doing the right thing, fix the bug there.