Clear broken double-width characters on ICH/ECH/DCH
Prevent out of bounds array access
Check if deleteCharacters is called with a positive argument
Remove needless assignment statements added in ce03b8c
Confirm that ECH parameter is a positive value