Made eval_mutex usage in transform_apply, terminal_apply, and btree.cc sufficiently fine-grained.