Panic in LSM if a merge or switch fails at the wrong time.

The wrong time is once changes have been made to the LSM tree structure
in the merge case, or any time during a switch.