Replace import of full `lodash` module with `lodash/array`, the only functions used.
This reduces the size of the gzip JS bundle from 726kb to 656kb.
Removing lodash completely would save an additional 26kb, but the module will be useful for later utxo mgmt optimizations and cannot be eliminated now without some refactoring. Other speed optimizations should be pursued first.