[Truffle] Factor out the 'if' part of a destructure switch.
[Truffle] Switch to allow blocks to behave as procs.