test_wait_for_match_erode_passes_affects_match: Cleanup: Remove unneeded "$scratchdir"

This was missed from commit e3563141.