Allow make_where_block to take a custom QAST block

Normally, when building a where block, we want to use the current value
of $_.  Sometimes, however, we want to perform additional work (in the
case of closure parameters, we want to match against $_.signature rather
than $_ itself)