[aligner] Add the alignall_iterative() function (closes #116932) [applied]