test(engine): deletion of transient cached historic details

- ensure that cached historic details that are staged to be inserted into the
  database are not in fact inserted when all historic details of the process
  instance are deleted in the same transaction

related to CAM-2912