fix TypedExprTools handling of TIf