cleanup UCI code
* tt_alloc() and tt_free() are only done in main().
* resize the TT when Hash option changes value.
* do not use exit(), and cleanly return to main() where tt_free() will be performed.