You should try to contact united to remove the miles from your account only once that happens can the same be credited to A3. I know this is something of a crazy situation but there is really not much that anyone can do about it as A3 won't credit miles unless united removes it from your account.