In my humble opinion, it seems clear that the intent of the Rambam is like the words of the Tur, and he is only clarifying the difference between hachchashah and hazamah. For even though hazamah also perforce results in the outcome of their testimony being a matter of hachchashah—for if not so, what difference does it make whether the witnesses were with them, with the plotters, or not? And it is not similar to where they testified against them that they desecrated Shabbat, where there is a transgression in the essence of the testimony. But in "you were with us," there is no transgression here unless you join the fact that since "you were with us," perforce this which you testified, that this one borrowed from that one, is a lie, and it reverts to being hachchashah. Rather, it is a decree of the Torah that when they testify only regarding the essence of the witnesses, they are believed, just as if they testified that they desecrated Shabbat, as I wrote in section 3. According to this, the core of the matter depends on the intent of the latter witnesses: if their intent in this testimony is to contradict the essence of the act—such as when they mention in their testimony a contradiction of the essence of the act, or even if they do not mention it but from the implication of their words a contradiction of the essence of the act arises, such as when they testify regarding the borrower or the lender that he was with them, and perforce their intent is to contradict the essence of the act, for if not so, what difference is there whether he was with them or was not with them? Therefore, it is hachchashah. But in "you witnesses were with us," even though this too perforce results in contradicting the essence of the act—for if not so, what difference is there in this?—nevertheless, the Torah decreed so, as I wrote. And according to this, from where do we know if their intent was to contradict the essence of the act in coming with this testimony or not? There is a test for this. And behold, it goes without saying that when they actually know of the essence of the contradiction of the act and in their testimony they do not mention this at all, it is obvious that their primary intent is regarding the contradiction of the essence of the witnesses and not regarding the contradiction of the essence of the act, for if not so, they would have also mentioned the contradiction of the essence of the act since they know of it. And so too, even if they mention the essence of the act but they mention it as another testimony, like that of section 10, when they say "on the first of the week you were with us" and they add further that "on the second of the week he killed"—for if their primary intent was to contradict the essence of the act from the first day to the second day, they should have testified "he did not kill on the first day but on the second day," and why should they testify "you were with us"? Rather, certainly their primary intent is the hazamah. And so too in that of section 19, and all the more so in that of "so-and-so sodomized me," where perforce when they say "you were with us" they contradict the essence of the act, and they should have testified thus: "your testimony is a lie, for behold you were with us, and how did you say that he sodomized you?" Rather, since they know and do not mention it, it is obvious that their primary intent is for hazamah. But even if they do not know of the contradiction of the essence of the act—where it could be said that their primary intent in the hazamah is to contradict the essence of the act, for if not so, what difference is there whether they were with them or not, as I wrote—nevertheless, the Torah decreed that since they do not mention the essence of the contradiction of the act, it is hazamah. And this is what the Rambam, of blessed memory, wrote: hachchashah is in the testimony itself when they mention the contradiction explicitly, or even if they do not mention it explicitly but perforce their intent is for this, which comes from the implication of the words of their testimony, for if not so, there is no explanation for this—such as when they say "the borrower or the lender was with us," and what difference is it if not that their intent is to contradict the essence of the act? And hazamah is when their entire primary intent is regarding the witnesses themselves, even though the result of this is hachchashah, as I wrote, for what difference is there in this? Nevertheless, the Torah decreed so. And therefore, if they do not know at all if the thing happened or not, even though it is possible their intent is for this, nevertheless, since they do not mention this—and all the more so when they say explicitly "we do not know of this, if he killed or if he did not"—and this which he wrote, "but if they said to them: we do not know if this one killed this one, etc.," the intent of the Rambam is not that they must say this explicitly; rather, his intent is to know clearly that their intent in this testimony is not to contradict the essence of the act, and as he concludes, "since they did not pay attention to the essence of the testimony at all." And if so, when they did not mention it, behold they did not pay attention to it. Rather, because regarding hachchashah he said previously that they mentioned the contradiction explicitly, he says regarding hazamah the opposite, that they mentioned explicitly that they are not paying attention to the contradiction of the essence of the testimony; but the core of the matter depends on the revelation of the intent of their testimony. And if so, all the more so when they knew of the act and did not mention it, it is obvious that it is the essence of hazamah. And in all places in the Gemara regarding the law of hazamah, it is not mentioned anywhere that they must say explicitly "we do not know of the act," but rather that you automatically hear from it that since they do not mention this, automatically they did not concern themselves with it. And so too when they mention the essence of the act from the side, like in the case of the tooth and eye of a slave, and that he did not kill on the first day but on the second day, as we explained. And all these laws are explicitly explained from the Mishnah in Makkot [5a], as we learned: Witnesses do not become zomemim until they are made zomemim themselves. How so? They said: "We testify concerning such-and-such a person that he killed a soul." They said to them: "How do you testify, for behold this one who was killed, or this killer, was with us on that day in such-and-such a place?" These are not zomemim. But if they said to them: "How do you testify, for behold you were with us on that day in such-and-such a place?" behold these are zomemim, etc. And the inference of the first clause is difficult against the inference of the latter clause: for from the first clause it implies specifically when they mentioned the hachchashah alone it is not hazamah, but when they mentioned both of them, the hachchashah and the hazamah, it is hazamah; and in the latter clause it implies that specifically when they mentioned the hazamah alone it is hazamah, but when they mentioned both things it is not hazamah; and the Gemara makes such inferences in many places. And furthermore, why does it not teach in the first clause the primary hachchashah, that "he did not kill," and why does it need to depict it with "the killer or the one killed was with us"? However, according to what we explained, it is well, for there is no difference whether they mention one of them or both of them, for the core of the matter depends on what their primary intent was to testify. And therefore it teaches in the first clause as a greater novelty: even though they do not mention the primary hachchashah, but rather "the killer or the one killed was with us," and this comes from the implication of their words as the Rambam, of blessed memory, wrote—meaning, since perforce the primary result of their words is that their intent is to contradict the essence of the act, for if not so, there is no difference in which place the killer or the one killed was—therefore it is hachchashah and not hazamah. But if they said to them: "You were with us in such-and-such a place," even though here too the result of this is that the act is a lie, nevertheless, since they testify regarding the essence of the witnesses and do not testify regarding the contradiction of the essence of the act, the Torah decreed that this is hazamah. And when they testify regarding both things, it is hachchashah in most instances, unless they mention the hachchashah from the side, as has been explained.
ולענ"ד נראה ברור דכוונת הרמב"ם הוא כדברי הטור ואינו מברר רק ההפרש בין הכחשה להזמה דאע"ג דגם הזמה בע"כ הוא דהיוצא מעדותם הוי לענין הכחשה דאל"כ איזו נ"מ הוא בין היו העדים עמם עם הזוממים או לא ואינו דומה להעידו עליהם שחללו שבת שיש בגוף העדות עבירה אבל בעמנו הייתם אין כאן עבירה אם לא תצרף כיון שעמנו הייתם בע"כ זה שהעדתם שזה לוה מזה שקר הוא והדר הו"ל הכחשה אלא שגזירת התורה היא כשאין מעידים רק על גוף העדים נאמנים כמו שהעידו שחללו שבת וכמ"ש בסעי' ג' לפ"ז עיקר הדבר תלוי בכוונת העדים האחרונים אם כוונתם בעדות זה להכחיש גוף המעשה כגון שמזכירים בעדותם הכחשת גוף המעשה או אפילו אין מזכירים אלא שמכלל דבריהם בא הכחשת גוף המעשה כגון שמעידים על הלוה או המלוה שעמם היה ובע"כ כוונתם להכחיש גוף המעשה דאל"כ איזו נ"מ יש בין היה עמם או לא היה עמם ולכן הוי הכחשה אבל בעמנו הייתם דעדים אע"ג דגם זה בע"כ היוצא מזה להכחיש גוף המעשה דאל"כ איזו נ"מ יש בזה מ"מ גזרה התורה כן וכמ"ש ולפ"ז מאין אנו יודעים אם כוונתם להכחיש גוף המעשה באו בעדות זו אם לאו יש בזה בחינה והנה לא מיבעיא כשבאמת יודעים מגוף הכחשת המעשה ובעדותם אינם מזכירים זה כלל פשיטא שעיקר כוונתם על הכחשת גוף העדים ולא על הכחשת גוף המעשה דאל"כ היו מזכירים גם הכחשת גוף המעשה כיון שיודעים מזה וכן אם אפילו מזכירים גוף המעשה אלא שמזכירים זה כעדות אחרת כמו הך דסעי' י' כשאומרים באחד בשבת עמנו הייתם ומוסיפין עוד דבשני בשבת הרגו דאם עיקר כוונתם להכחיש גוף המעשה מיום א' ליום ב' היה להם להעיד לא ביום א' הרגו אלא ביום ב' ומה להם להעיד עמנו הייתם אלא וודאי עיקר כוונתם הוא ההזמה וכן בהך דסעי' י"ט וכ"ש בהך דפלוני רבעני דבע"כ כשאומרים עמנו הייתם מכחישים גוף המעשה והיה להם להעיד כן שקר עדותכם כי הלא עמנו הייתם ואיך אמרת שרבעך אלא כיון שיודעים ואין מזכירים פשיטא שעיקר כוונתם להזמה אלא אפילו אינם יודעים מהכחשת גוף המעשה די"ל דעיקר כוונתם בההזמה להכחיש גוף המעשה דאל"כ איזו נ"מ יש בין היו עמהם או לא כמ"ש מ"מ גזרה התורה כיון שאין מזכירים גוף הכחשת המעשה הוי הזמה וזהו שכתב הרמב"ם ז"ל הכחשה הוי בעדות עצמה כשמזכירים ההכחשה או אפילו אין מזכירים אלא שבע"כ כוונתם לזה שזהו בא מכלל דברי עדותן דאל"כ אין שום פירוש לזה כגון שאומרים הלוה או המלוה עמנו היה ואיזו נ"מ הוא אם לא שכוונתם להכחיש גוף המעשה והזמה הוא כשכל עיקר כוונתם בעדים עצמן אע"ג דהיוצא מזה הוי הכחשה כמ"ש דאיזו נ"מ יש בזה מ"מ גזרה התורה כן ולכן אם אינם יודעים כלל אם נהיה הדבר אם לאו אע"פ שאפשר כוונתם לזה מ"מ כיון שאין מזכירים זה וכ"ש כשאומרים בפירוש אין אנו יודעים מזה אם הרגו אם לאו וזה שכתב אבל אם אמרו להם אין אנו יודעים אם זה הרג זה וכו' אין כוונת הרמב"ם שיאמרו זה בפירוש אלא כוונתו לידע ברור שאין כוונתם בעדות זה להכחיש גוף המעשה וכמו שמסיים הואיל שלא השגיחו על עצמם של עדות כלל וא"כ כשלא הזכירו הרי לא השגיחו בזה אלא משום דבהכחשה אמר מקודם שהזכירו ההכחשה מפורש אומר בהזמה להיפך שהזכירו מפורש שאין משגיחים בהכחשת גוף העדות אבל העיקר בגילוי כוונת עדותם תליא מילתא וא"כ כ"ש כשידעו מהמעשה ולא הזכירוה פשיטא שהיא עיקר ההזמה ובכל המקומות בש"ס בדין הזמה לא הוזכר בשום מקום שיאמרו בפירוש אין אנו יודעים מהמעשה אלא דממילא שמעת מינה כיון שאין מזכירין זה ממילא דלא חששו לה וכן כשמזכירים את גוף המעשה מן הצד כמו בשן ועין של עבד ושלא הרג ביום א' אלא ביום ב' כמו שבארנו וכל דינים אלו מבואר להדיא ממשנה דמכות [ה'.] דתנן אין העדים נעשים זוממין עד שיזימו א"ע כיצד אמרו מעידין אנו באיש פלוני שהרג את הנפש אמרו להם היאך אתם מעידים שהרי נהרג זה או ההורג זה היה עמנו אותו היום במקום פלוני אין אלו זוממים אבל אמרו להם היאך אתם מעידים שהרי אתם הייתם עמנו אותו היום במקום פלוני הרי אלו זוממין וכו' וקשה דיוקא דרישא לדיוקא דסיפא דברישא משמע דווקא כשהזכירו ההכחשה לבד אין זה הזמה אבל כשהזכירו שניהם ההכחשה וההזמה הוי הזמה ובסיפא משמע דדווקא כשהזכירו ההזמה לבד הוי הזמה אבל כשהזכירו שני הדברים לא הוי הזמה וכה"ג דייק הש"ס בכ"מ ועוד דלמה לא תני ברישא עיקרא דהכחשה שלא הרגו ולמה לו לצייר בעמנו היה ההורג או הנהרג אמנם לפי מה שבארנו א"ש דאין שום חילוק בין שמזכירים אחת מהם או שניהם דעיקר הדבר תלוי על מה עיקר כוונתם להעיד ולכן תני ברישא לרבותא אע"פ שאין מזכירין עיקרא דהכחשה אלא עמנו היה ההורג או הנהרג וזהו בא מכלל דבריהם שכתב הרמב"ם ז"ל כלומר כיון דבע"כ עיקר היוצא מדבריהם דכוונתם להכחיש גוף המעשה דאל"כ אין נ"מ באיזה מקום היה ההורג או הנהרג ולכן הוי הכחשה ולא הזמה אבל אמרו להם אתם הייתם עמנו במקום פלוני אע"ג דגם כאן היוצא מזה ששקר המעשה מ"מ כיון שמעידים על גוף העדים ואין מעידים על הכחשת גוף המעשה גזרה התורה שזהו הזמה וכשמעידים על שני הדברים הוי הכחשה ברוב פעמים אם לא כשמזכירין ההכחשה מן הצד כמו שנתבאר: