Improve code documentation
Consolidate and simplify abc::str_base::translate_index*()