On the trial of two or more persons jointly indicted, the jury may render a verdict of guilty or not guilty as to some and disagree and be discharged as to others, without a verdict, if they cannot agree as to all; and the case of those as to whom a verdict was not found shall stand as if it had not been submitted to a jury, and shall be tried accordingly before another jury.