7868: fix Interval error in master

fixes #7868; see commit notes
OK, I changed it to expr and ran tests locally:

```
sympy\sets\tests\test_sets.py[51] ....ff.......................................
......                                                                     [OK]
```