Man allegedly stabs K-9 during struggle with police