When was the treatise that allowed a congregation to elect or remove a minister?