Initialise all subfields of 'install-dirs' in 'sandbox init'.

Inheriting e.g. 'libsubdir' from '~/.cabal/config' can break things if it set to
an empty string.

Fixes #1389.