York judge: House arrest for ex-Hallam man who beat his dog bloody