Coalesce overlapping entity offsets.