Sema: Lower scope limit in rdar50025491.swift test and make a gyb variant
The -solver-enable-performance-hacks flag has not made a
difference here in a while, and it now passes with a lower
scope limit.
Also the original expression is bespoke but the underlying problem
is simpler. Add a new version that doesn't rely on Foundation
or IUO syntax sugar, and turn it into a scale-test.