What was the church lacking before the edict that would allow them to legally counter heresy