(1) If an accused after arraignment makes an irregular pleading, or after a plea of guilty sets up matter inconsistent with the plea, or if it appears that he has entered the plea of guilty improvidently or through a lack of understanding of its meaning and effect, or if he fails or refuses to plead, a plea of not guilty shall be entered in the record, and the court shall proceed as if he had pleaded not guilty.
(2) With respect to any charge or specification to which a plea of guilty has been made by the accused and accepted by the military judge, or by a summary court officer, a finding of guilty of the charge or specification may be entered immediately without vote. This finding shall constitute the finding of the court unless the plea of guilty is withdrawn prior to the announcement of the sentence, in which event the proceedings shall continue as though the accused had pleaded not guilty.