[GHC] #11125: Typechecker can't infer StM m Bool ~ Bool from StM m a ~ a