Exploiting Trust for Resilient Hypothesis Testing with Malicious Robots (evolved version)