Formal Equivalence Checking for Mobile Malware Detection and Family Classification