Judge accepts insanity plea deal for man in face-biting case