Fix IE8 bug with Array#splice with one argument; use length= to truncate