CaseSplit panic sorted. closes https://github.com/kazu-yamamoto/ghc-mod/issues/336