API: preserve freq in DTI/TDI.factorize
cc @simonjayhawkins 
closes #35563 

this is an old branch I resurrected and rebased, so has some excess cruft that would need to be removed if we want to move forward.

LMK if there are any tests you'd like to see added based on the other issue (or just go ahead and push them if you like)