Use backtrace() when we die.

Seeing some bugs that trigger on multiple trials; hard to debug.
Stringbag: Allow creating maximum-size stringbags.

Store (capacity - 1), not capacity. (Previously we couldn't store a
64K stringbag because that was above the max_size(), which was 2^16-1.)

Also don't always double bagsize.

Reduces crashes.