i dont really have a clue how it happened all i can say is i feel sorry for the transfluid getting butchered by the heat that must have transfer to it from the headers.
I would say replace the part of the line thats leaking with rubber hose and route it away from the headers.