He was going take the pieces of the chakra weapon..I know this sounds unrealistic but the ninjas of Konoha will take each of Nagato's Pein bodies one by one till Nagato appears