core-list-dart fixes

Might fix https://github.com/dart-lang/core-elements/issues/130 (although the error I was seeing was different). Specifically this fixes issues with mutating small lists causing out of bounds errors.