Brookline settles with firefighter who alleged racist enviro