The legendary editor Robert Giroux, who died Friday at age 94, narrowly lost the chance to publish “The Catcher in the Rye.”