streamline generateHints and merge with growPuzzle
fix bug concerning uniqueness

The previous commit introduced a bug: the generated hints did not
necessarily determined a unique puzzle configuration.