Change interval<T>::contains to take const argument