Ezra is skirting close to Dark Side. He wants to destroy (i.e. kill) Vader and Inquisitors. He has chosen to fight. Of course, this is not unusual, Yoda has seen this in Padawans many times. What is different is Yoda's response. Yoda is wiser now. He knows from his own experience that everybody, including him, has Dark Side inside. No longer he tries to falsely shield Padawans from themselves.
Yoda lets Force guide Ezra. On Malachor, Ezra could find what he seeks, one way or another. He could witness destructiveness of conflict that consumed both Jedi and Sith. Or he could join Maul. Maul is certainly capable of destroying Inquisitors, and if he trained Ezra, who knows ... maybe two of them could defeat Vader. After all, Ezra and Kanan almost did that once with their combined powers. So, there is a path of wisdom and a path of sword for Ezra. Yoda moves away from traditional Jedi training, and lets Living Force do it's thing (influence of Qui-Gon Jinn)
Malachor is also Trial of Flesh for Kanan Jarrus. Kanan lost his physical sight in order to get deeper insight into the Force. He also lost part of his previous self - he now wears Jedi Temple Guards mask, and in this way he loses his old identity in order to become guardian of the Order and Ezra himself. In a sense, he now goes full circle in replacing former Temple Guard - Grand Inquisitor. His greatest, now dead opponent, but also person who knighted him in his vision. Jarrus becomes what Grand Inquisitor failed to be .
Malachor is also trial of destiny for Ahsoka. Ahsoka simply cannot let past be past. She is attached to her former master, determined not to abandon him this time . She subconsciously blames herself for what has happened to him, and that determines her fate.
P.S. Of course, out of universe, Malachor is convenient place for grand Season finale, place not connected with main story of Rebellion in any way, with powerful but ultimately impotent Sith temple-weapon that also does not change main storyline . Additional bonus for introduction of Maul and elimination of Ahsoka (at least for Season 3). Such place is naturally only known to very wise, therefore vision of Yoda .