The sheriff's office defended the shooting, saying the dog aggressively charged a deputy from behind.