Adversary Detection and Resilient Distributed Estimation of Parameters from Compact Sets