War hero dog mistakenly put to sleep