The groups ruthlessly hijacked religion to control territory and resources, brutalize women and girls and slaughter minorities.