[GHC] #8906: rewrite arrow form in type signature sometimes leads to exception, sometimes not