Add Functor instances for Interval and non-empty Interval