When the city settled a police brutality lawsuit with Black Lives Matter protesters in 2023, it agreed to limit a notorious NYPD unit’s deployment.