Sequence-structure-function classification of a catalytically diverse oxidoreductase superfamily in mycobacteria.