Realized that because he was able too break out of the Edo Tensi, that the voice in his head was capable of breaking out of it similarly, by which it could have been foreseen that it was his body a vessel; (similar to what Sasuke and. Oro went thru)
I mean isn't Madara pretty well all-knowing...