[GHC] #13425: Semantically-equivalent expressions evaluating at different values with -O1