Clear edit-distance's memo table after each invocation