SOLR-3699: Fixed some Directory leaks when there were errors during SolrCore or SolrIndexWriter initialization