throw instead of assert at incomplete charset, refs #8843
remove unused local typedef, refs #8880