[GHC] #13861: Take more advantage of STG representation invariance (follows up #9291)