Fix races switching out LSM chunks

Change LSM to set an transaction ID when chunks are switched out, rather than bumping it on every update.  This fixes races where chunks could be dirtied after they were flushed to disk in some test/format workloads.