Livestock worrying by dogs is estimated to cost the industry at least £1.2m a year. Paul Spackman discovers how farmers should tackle the problem and stay within the law.