SOLR-6279: cores?action=UNLOAD can unregister unclosed core


https://issues.apache.org/jira/i#browse/SOLR-6279