St. Lawrence County legislators vote to settle $2.9 million lawsuit