Tobirama should interrupt Hashirama and Madara's fight by teleporting into the fight, grabbing Hashirama, and teleporting him back to the others. He should then explain to Hashirama that only him and Naruto can hurt Obito, and that he, Sasuke, and Minato will fight Madara in place of Hashirama...