Fix misc errors with Common.Interval

- Fixes number for negative intervals
- Fixes mkInterval' and intervalDiff to work with large intervals
- Misc cleaning