fix(test): terminate iOS app before Phase 3 DB modifications
Phase 3 dedup test was failing because the iOS app was still
running with a WAL-mode SQLite connection when we seeded
duplicates and cleared the dedup flag externally. The app
never saw those changes.
Fix: terminate iOS app in Step 19 (matching Phase 4's pattern),
add WAL checkpoint after clearing the dedup flag.