Fix issue #17216

The cleanup scope of for loop bindings should translated when
popped to ensure resources are not leaked.
Add regression test for issue #17216
auto merge of #17246 : bkoropoff/rust/issue-17216, r=pnkfelix

Trans the cleanup scope of for loop bindings so we don't leak resources.  Regression test included.

Closes #17216