[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 5 commits: Fix issues with toRational for types capable to represent infinite and not-a-number values