Add flag to disable type family consistency check
Type family consistency checks can become a performance bottleneck (#5224, #19703, #25554, #25555). It would be good to investigate ways to do better here, but it seems fundamentally hard to reconcile the check with separate compilation. Moreover, there are cases in which the user may "know" that their family instances are consistent (or at least be willing to take the soundness risk at some stages of development, knowing that a later compilation or their CI setup will catch any actual problems). So perhaps GHC should have a(n unsafe) flag to disable the check?
Side note: #13099 seems to say that the current check is in some cases not conservative enough. It's also interesting to think about how the check should be managed in one-shot mode; does responsibility for running the check fall to GHC or the build system?