This avoids a potential deadlock during compact operations and/or checkpoints with a target list (and an assertion about lock ordering in diagnostic builds).
Note that nested locking is not ideal: the medium-term fix here is WT-1598.
Remove the schema, table locks
Test/format seeing EBUSY return in verify
assertion failure for potential deadlock