New York City settled a lawsuit yesterday over the fees paid to private lawyers assigned to represent the poor in criminal cases, agreeing to nearly double in some cases the rate that has been in place for nearly two decades.