bugfix reference.slice, improve div.check exception
bugfix reference.slice, improve div.check exception

timovanopstal/nutils,wijnandhoitinga/nutils,joostvanzwieten/nutils,nutils/nutils,CVerhoosel/nutils