Make beta reduction of Case expressions work for type arguments.