optimizations: improve `Core._apply_iterate` call conversion in #59548 (#59601)
Further improves the implementation from JuliaLang/julia#59548.
Specifically, uses `widenconst` to enable conversion of `tuple` calls
that have become `PartialStruct`, and removes incorrect comments and
unused arguments.
Also adds some Julia-IR level tests.