Brooklyn officials back bill removing guns from people likely to hurt self or others