Fixing #4642.
Added a deprecation warning to to pending/integer_range.hpp. Replaced all BGL inclusions with range/irange, which defines the same type.