Fix usage of the "ignorecase" argument of simplify_charclass.