The nerve innervates the deep cardiac plexus at the bottom, and the esophagus and trachea on its way to the larynx. So the path needs to be run anyway, leaving little advantage to another route.
Gray's Anatomy (the book, not the tv show) says during development the recurrent laryngeal nerve provides "a means of support that would permit the ductus to develop as a muscular artery" which it can do because it "has a greater proportion of connective tissue than other nerves, making it more resistant to stretch." Having a single cell build itself into a giraffe (or human) requires scaffolding along the way, and having the scaffolding that is also reused as a functionally redundant component of its own is better design than if it were not.
The inverted vertebrate retina is needed to allow additional cooling through blood flow. This article goes into additional tradeoffs in the design: http://www.quarkphysics.ca/scripsi/vision-of-octopi-and-the-...