The former Marine who opened fire in a Michigan church and set it ablaze last month was motivated by “anti-religious beliefs.