What was the name of the doctrine that separated church and non-religious affairs