declarationsWithUses

Using the variableUses, collate the use/definition pairs into definition/all-uses pairs. The result is a List of such entries ordered by the definitions' positions. Each entry is a Pair consisting of an IntRange for the definition and an inner List of IntRanges for each use, also ordered by position. All ranges are one-based.