[Git][ghc/ghc][wip/marge_bot_batch_merge_job] Refactor: make function patterns exhaustive