Sorry about your luck. Total Bummer.
I free range my chickens. I have a dog with a high prey drive. He killed one of my chickens & I saved 2 others from his attacks. Like yours he is fine when you are there but cannot be trusted on his own. I have used a shocker collar on him giving him a jolt...