Add more type distinctions to Range

This allows a new type alias Section <: Segment representing a bounded
range of offsets.
Fix slotasset sql args after Volume condition changes

Introduced by 43b43b4