[Git][ghc/ghc][master] Fix two bugs in short-cut constraint solving