BS-11195 : should_delete_archive_case_call_right_engine_method() is maybe not transactionnel

- Replace the multiple get archived process intances by a search.
- Modify the unit tests