Improved logic for handling termination digit in DTMF sequence
Remove termination digit if we have "no match" only. Keep termination digit if we have "perfect" or "partial" match.
Remove termination digit if we have "no match" only. Keep termination digit if we have "perfect" or "partial" match.