HHH-8243 HHH-8329 - Avoid flushing in validity audit strategy

Patch and test for HHH-8243 and HHH-8329 JIRA tickets.
Links: https://hibernate.atlassian.net/browse/HHH-8243, https://hibernate.atlassian.net/browse/HHH-8329.

Best regards,
Lukasz Antoniak