Avoid duplicated code.

* Reuse install_formula from install.
* Don't handle CannotInstallFormulaError anymore.
  - The exception message will still be printed when brew abort.
  - Now reinstall can catch this, print e.message, and do recovery
    work.
* Add directory check before reinstate reinstall stage directory.