Court-martial of U.S. war objector ends in mistrial