Fix a crash when attempting to lower a function with a variable binding as a parameter. This is a narrowly-targeted fix, and not the right longer-term approach; more complex patterns as function parameters will still fail and likely crash.