2 test cases which reproduce extract local bug

When performing an extract local on the entire right-hand
side of a '<-' in a for expression, one either gets
an UnsupportedOperationException, or ends up with
a refactoring that mangles the input. These test cases
reproduce instances of both of those bad behaviors.

Re #1001646