SOLR-2813: Fix HTTP error codes returned when requests contain strings that can not be parsed as numbers for Trie fields