Panic on a pattern synonym in a class
This silly code causes a panic in rnMethodBind:
```hs
{-# LANGUAGE PatternSynonyms #-}
class C a where
pattern P = ()
```
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 7.8.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Panic on a pattern synonym in a class","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"7.8.3","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"This silly code causes a panic in rnMethodBind:\r\n\r\n{{{#!hs\r\n{-# LANGUAGE PatternSynonyms #-}\r\nclass C a where\r\n pattern P = ()\r\n}}}","type_of_failure":"OtherFailure","blocking":[]} -->
issue