Farmington settles high school lawsuit