This change implements mutable merge algorithms, both in place and
using a temporary buffer. The temporary buffer is only used if the
mutable collection supports accessing its storage as a contiguous
unsafe buffer; if not, the in-place merge is used instead.