[backport#15497] Make deriveaddresses use stop/[start,stop] notation for ranges
Summary:
https://github.com/bitcoin/bitcoin/pull/15497/commits/ca253f6ebf2c9a12f5cb2b4c9f575178d058a612
Depends on D6613
Concludes backport of Core PR15497
Test Plan:
ninja check test_runner.py rpc_deriveaddresses
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D6614