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