function kanaRemoveTrailingLatin(str) {
  if (isKanaWithTrailingLatin(str)) {
    return str.substr(0, str.length - 1);
  }
  return str;
}
Drops the trailing Latin character from a string that is exactly a sequence
of Kana characters followed by one Latin character.

@param {string} str
@output {string}