[GHC] #8941: Module that causes GHC-7.8 to exhaust memory compiled with -O2