One of the options you put, all are possible.. I could see him breaking free and if kaguya and he end up existing at the same time he'll fight with Team 7, after the defeat of Kaguya Naruto will complete TnJ, He will Rinne Tensei the dead fodders and alliance. He will cry to Hashirama and make up, He will die because of Rinne Tensei because of low chakra, sacrificing himself, he makes up for what his done.. Edo Tensei is released. MT is ended.