SPCA successfully defends itself in suit alleging wrongful detention of dog