Fix Doc._tryRollback sending an array instead of an object to Doc._otApply, Doc.xf, and Doc._afterOtApply