Replace Interval::NumElements with ::GetLoopTripCount.
Replace Interval::NumElements with ::GetLoopTripCount.

The latter has some safety checks built in. Replace unsafe
uses of NumElements with `IsFeasible`.
