Pulls out "tm ok" state into KernelHealth

which is also now shared with XaLogicalLog so that the same rules about
panicing and respecting a kernel panic event also is in place when
applying external transactions.