Police dog “lucky to be alive” after being stabbed five times