Opt mode fix
Fixing optimistic mode with MPI simulation layer. Few of the traces were giving unmatched sends/receive errors with wait operations. The issue was that the simulated request IDs had to follow the same order when restored in optimistic mode. In forward mode, we search and then delete from the list so the order shouldn't matter but somehow it was causing issues with reverse handlers.