I agree it is not your fault. Accidents do happen all the time and we can never be 100% on our toes all the time.
But you can train dogs never to kill. Working with the dog is as important as just building a stout pen for the chickens.
But it sounds like you will never let this happen again...