tmx: properly receive the branch index for $T(...) in the branch_failure_route