DRILL-1180: Add casts to case expression to ensure all branches have same output type