Fix error in tablegen when either operand of !if is an empty list.

!if([Something], []) would error with "No type for list".