[scalac-plugin] Refactor recursive match:

```scala
x match {
  case y => y match {
    case ~(RichPat("x"), _) => ???
  }
}
```