Fixed preconditions in IntervalMap eraseMultiple and insertMultiple