pkg: move to more generic StringsFlag

/cc @xiangli-cmu
NewStringsFlag(valids ...string)