Force flush on disk of the new log version after a log rotation

Fix a problem when recovering caused by the fact that the new log version wasn't flushed on disk after a log rotation.

Reenable tests in IndexRecoveryIT