I think Obito plant the other rinnegan eye in a zetsu clone,or maybe in zetsu himself,and he scheduled the clone as when he die,the clone starting rinne tensei on obito,to ressurect him