Text this: Bounded variation and the strength of Helly's selection theorem