Adapt module imports to accomodate future `base-4.8`

There's only one breaking change in `base-4.8.0.0` so far, namely that
`Prelude` now re-exports `traverse` which clashes with
`Data.HashMap.Array.traverse`. All other changes in this commit are to
avoid redundant-import warnings.