The Swinomish Indian tribe and Skagit County Diking District No. 22 have settled a legal dispute by agreeing to work to restore nearly 200 acres of estuary habitat critical for salmon.