DOC: Enforce Numpy Docstring Validation for pandas.IntervalIndex.mid
- [x] xref #58498 

fixes
```
pandas.IntervalIndex.mid GL08
```

and

```
pandas.IntervalIndex.right
```
return type in Examples

Thanks @tuhinsharma121 