[GHC] #14322: Simplifying an instance context makes a rewrite rule no longer typecheck