I think that Tobi will eventually retreat , he definitely wasn't expecting that Naruto could become so powerful. And then we come back to Sasuke/Itachi vs Kabuto fight.I think it will happen. If Itachi uses the Izanami, either Kabuto runs away and edo tensei continues, kabuto dies (god i hope so) and the edo tensei continues, or the izanami is used to make kabuto end the edo tensei, thereby eliminating the fight between madara and anyone else...