Help compiler know integer bounds in vector resizing ops (#59540)
This produces much better code than _deleteend!, because it skips a
needless error check for negative length. It's also easier on the
compiler because it does not produce _unsetindex! code which is
optimised away.
`empty!` is already pretty fast, but this produces smaller code more
likely to inline.