Deputies forced to shoot and kill dog after being attacked during narcotics investigation, officials say