Swap to `lodash.flatten`.

Swap `underscore` out with `lodash.flatten`.