The negotiations leading up to the agreement drew criticism from the judge who would have to approve any deal as soon as a government lawyer revealed it in Manhattan federal court.