Strings from symbolVal not simplified at compile time
Compiling
```hs
{-# LANGUAGE DataKinds #-}
module Test where
import GHC.TypeLits
import Data.Proxy
testAA :: Bool
testAA = symbolVal (Proxy :: Proxy "A") == symbolVal (Proxy :: Proxy "A")
testAB :: Bool
testAB = symbolVal (Proxy :: Proxy "A") == symbolVal (Proxy :: Proxy "B")
```
with
```
ghc -O -ddump-simpl -dsuppress-all Test.hs
```
yields:
```hs
-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
testAA2
testAA2 = "A"#
-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}
testAA1
testAA1 = unpackCString# testAA2
-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}
testAB1
testAB1 = "B"#
-- RHS size: {terms: 4, types: 0, coercions: 0, joins: 0/0}
testAB
testAB = eqString testAA1 (unpackCString# testAB1)
-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}
testAA
testAA = eqString testAA1 testAA1
```
Removing `testAA` makes `testAB` simplify to `False`, and so does removing `testAB`'s type signature.
I would expect each definition to simplify to `True` or `False`, no matter whether it has a type signature or whether the same string is used elsewhere in the same file.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------------ |
| Version | 8.6.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler (CodeGen) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Strings from symbolVal not simplified at compile time","status":"New","operating_system":"","component":"Compiler (CodeGen)","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.6.3","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"Compiling\r\n{{{#!hs\r\n{-# LANGUAGE DataKinds, TypeApplications #-}\r\n\r\nmodule Test where\r\n\r\nimport GHC.TypeLits\r\nimport Data.Proxy\r\n\r\ntestAA :: Bool\r\ntestAA = symbolVal @\"A\" Proxy == symbolVal @\"A\" Proxy\r\n\r\ntestAB :: Bool\r\ntestAB = symbolVal @\"A\" Proxy == symbolVal @\"B\" Proxy\r\n\r\ntestAB' :: Bool\r\ntestAB' = symbolVal @\"A\" Proxy == symbolVal @\"B\" Proxy\r\n}}}\r\nwith\r\n{{{\r\nghc -O -ddump-simpl -dsuppress-all Test.hs\r\n}}}\r\nyields:\r\n{{{\r\n-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}\r\ntestAB'2\r\ntestAB'2 = \"B\"#\r\n\r\n-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}\r\ntestAB'1\r\ntestAB'1 = unpackCString# testAB'2\r\n\r\n-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}\r\ntestAA2\r\ntestAA2 = \"A\"#\r\n\r\n-- RHS size: {terms: 2, types: 0, coercions: 0, joins: 0/0}\r\ntestAA1\r\ntestAA1 = unpackCString# testAA2\r\n\r\n-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}\r\ntestAB'\r\ntestAB' = eqString testAA1 testAB'1\r\n\r\n-- RHS size: {terms: 1, types: 0, coercions: 0, joins: 0/0}\r\ntestAB\r\ntestAB = testAB'\r\n\r\n-- RHS size: {terms: 3, types: 0, coercions: 0, joins: 0/0}\r\ntestAA\r\ntestAA = eqString testAA1 testAA1\r\n}}}\r\n\r\nFurthermore, removing the type signatures for ''either'' testAB or testAB' makes ''both'' simplify to False!\r\n\r\nI would expect all three definitions to simplify to True or False, independently of the presence of type signatures.\r\n\r\n","type_of_failure":"OtherFailure","blocking":[]} -->
issue