fix RAM accounting; hard prune tombstones only on commit