[TEST] fixed SimpleQueryTests#testMultiMatchQuery check for shard failures

It can happen that not all shards are ready, thus we won't have a total failure, but we do need to check that we have at least a failure. Checked also the message of the failure.
Use patched version of TermsFilter to prevent using wrong cached results

See LUCENE-5502

Closes #5363