Fix 'switch' codegen for empty case block