Settlement reached on town sanitation bill