Mortars fill that role infinitely better (and cheaper).
The XM25 only had applicability in the bizarre unwinnable "drive around until we get ambushed then counter-attack as quickly as possible because they're already retreating" GWOT "combat", where by the time the mortars were set up the enemy had already retreated and disappeared into the crowd. So infantry carriable, no-setup weapons like the XM25 would have some applicability if the emphasis was to allow the people being shot at initially to be able to be the ones that killed them (which only had psychological value)
Even then, the US didn't pursue it since at that point, their information and JSOC apparatus was established enough that they would just get their informants to tell them who did it, then launch a "night raid" and get the "spec ops tier 1 operators" to shoot a goat herder (who may or may not have been involved) in the middle of the night