Former conviction of acquittal; double jeopardy.-- When an accused has been convicted or acquitted, or the case against him dismissed or otherwise terminated without his express consent by a court of compentent jurisdiction, upon a valid complaint or information or other formal charge sufficient in form and substance to sustain a conviction and after the accused had pleaded to the charge, the conv