Actually, nope. The article clearly mentions that this particular religious ban has been selectively applied only in a province where Islam is dominant; They aren't equivocating on what religion the ban is intended for if they had to institute a separate law for a Muslim province despite having a national law of keeping religion out of schools, historically speaking. The outrage which was caused was because the girl was caught reciting Quran, so when the officials phrases it as 'it harms mental health' and not 'it is wrong because it is against the law', they aren't mincing words about alluding to a particular religion since the special provincial law has been narrowed down to cover only a province, over and above the national law which already exists (which is not the subject of discussion in the news report).
So the ban and the subsequent comments are aimed at a particular religion and not at the idea of religion itself. No Chinese official has said that Taoism and Christianity harms mental health despite both of them having millions of adherents in China. So clearly, the criticism of religion is not universal but constrained to target a certain religion.
Long story short, despite religion being banned wholesale from mainstream Chinese schooling, it is legal for religious schools to preach religion in their own schools (
https://en.wikipedia.org/wiki/Religious_education#China ) Taoism can be taught in Taoist schools, Christianity can be taught in Christian schools (there are 52 million Christians in China and growing :
https://en.wikipedia.org/wiki/Christianity_in_China ), but such a previlige doesn't exist for Muslims to preach Islam in their own schools, because first and foremost, Muslims aren't allowed to have schools funded and aided by private Muslim capital, so the ban IS selective towards Islam and is not universal. Other religions are allowed to have private educational institutions and preach their religion to kids, Muslims cannot. There's no editorial subterfuge.