Dying Brooklyn lawyer denied compassionate release