Miniscript does not support repeating the same public keys inside a script (since this will result in script malleability).
We need to add an unhardened terminal derivation path segment which will hold a branch-specific index for the same signer, which will help to resolve this issue.