[GHC] #9981: Potential typechecker regression in GHC 7.10.1RC