Dog shot by police officer after warrant mix-up