[GHC] #9174: Haddock fails with "Module defined in multiple files"