Joint statement announcing China-brokered rapprochement deal identifies 2-month window for sides to formally restart relations, reopen diplomatic missions after 7-year rupture