Dog shot by police in backyard