I think it defeats the purpose of the line in EP IV. Therefore he would’ve been the victor of the last encounter which defeats „…i was but the learner…“. So it’s wether a question of canon or non-canon editing.
I’ve thought about that; Disney have thrown canon in the garbage simply by having Obi-Wan and Vader encounter each other in this series (but that’s a different complaint haha!).
During the second confrontation, Vader says “Did you truly think that you could defeat me? You have failed, Master”.
He still refers to Obi-Wan as ‘Master’, so Vader’s line in ANH about previously being a learner is still valid.