#881: Use ranks for RTVertices in TDG
As we access the RTVertices by rank, this vector has been made accessible by rank and not by edge index from path as before. Also return the RT stop in TDG instead of the TH stop, as we want the RT to prevail. If there is no RT, it defaults to TH anyway.