Aldermen narrowly agreed Monday to settle a lawsuit brought by the family of James Anderson, who was fatally shot by police officers in September 2015 while he suffered a mental health crisis.