I'm not sure if this is good decision.
If Bangladesh have serious issues with some radicals from Islam, they should stop and persecute this people, not criminalize and judge whole religion.
Can institution or religion as organization be responsible for individual acts of all Muslim people?
I don't think so.
Each person should be responsible for his own acts, not whole organization.
They did not say that they want to criminalize religions. They only should not be part of the goverment anymore.
Religions are a free choice that every individual can decide for themselfes.
That's all to it.
Surely radicals won't like that and attack.
Of course you would not want to criminalize religion. People should be allowed to believe whatever bat shit crazy, bronze age story they want to believe in private. But not in public.
Religion has no place in government and schools.
Over time, I think people hiring engineers and doctors would probably question their judgement and sanity when they profess that Earth is flat, that it is 7230 years old, or that there are flying horses.
https://www.youtube.com/watch?v=bHvxiQbQ37IBut the grip religion has on the society in most countries is truly incredible, so it will not happen overnight.
Intelligent, educated people around the world should speak out and expose the nonsense religion spouts out.