By mistake, I ended the Bracha of Asher yatzar with “rofei cholei amo Yisrael” and I didn’t say “umafli la’asos”.
I didn’t correct myself toch kedai dibbur.
Do I have to repeat the bracha ?
Yes you do. The first time you didn’t say the bracha of asher yotzar the way the chazal said to say it. The end did have one similar word, but since this is not the nusach of the bracha, and this part is essential to the bracha, it has to be repeated again.
See O:CH 6-1 how each part of the bracha, especially the ending has special meaning to it and adds to the bracha.