When was an oath requiring militia to abjure the pretensions of the pope replaced?