backfill: Make integer_ranges() work on str args + add typing to RANGE_GENERATORS
Without the type annotation, mypy errors with 'Cannot call function of unknown type' when called from a type-checked function.
Migrated from D7354 (view on Phabricator)