Ang the dog was Dharma, but Yudhistira did not know this at the time. So for the the sake of that moment in time, the dog was the last man standing.