[GHC] #15772: Strange constraint error that disappears when adding another top-level declaration