You still need to resolve the conflict in favour of one trait. Here you only aliased the name. It's not a renaming, but an alias.
Add to the use
block:
traitA::myfunc insteadof traitB;
(or traitB::myfunc insteadof traitA;
)
and it should work.
You now have two aliases as wanted and the conflict is resolved too.