afterEach() resolves the master promise if current phrase is the root and has no further unprocessed peers