[range] Fix off-by-one error in implementation of irange() (refs #7731).

svn path=/trunk/libs/range/; revision=84701