I would have no problem omitting any duplicated word, provided it is clear it's superfluous to the sentence, as in your case.
The fewer words you use, the easier it is for someone to read and understand.
Hope this helps
I just wasn't sure if "any" was really necessary. I think that a lot of times it isn't. For example, "to avoid any misunderstandings, it should be stated that ...." "Any" is not necessary in that sentence; it just adds emphasis, I think.
The recommendation of avoiding repetition within sentences for stylistic reasons does not apply to legal documents, in which the aim is to produce terms and conditions expressed with unambiguous clarity.
They are also not known for brevity, as those who write them charge by the hour.
Nor are they known for being easy to read and understand. The said writers need to attract extra income by interpreting them for puzzled punters.