Change repeated arguments from one type to a list of types to support ca...

...se function.
This allows more flexibility in implementing switch/case using function, for example:
select case(weight < 100, 'light', weight >= 100 and weight < 200, 'medium', true, 'heavy')

The repeating types are boolean, vartype(a).