Madara Uses his juubi sized katon to roast white zetsu and Sasuke uses amaterasu to roast some more, with all that fire Sasuke uses kirin to get rid of the rest and to destroy possibly hundreds of edo tensei then they go down there in rib cage susanoo's and seal as many as they can before they reform, rinse and repeat until its over. Sasuke won't tire out because Kirin dosen't take chakra and amaterasu is much less taxing after ems. No one can react to Kirin so they keep using it until they get to Kabuto.