Ouch. If I were you I'd clip it off because if you leave it simply hanging on, your dog runs the risk of getting it caught on something and pulling it which would make things worse. I would cut it off but also have some cornstarch or styptic powder for any bleeding. Make sure to praise any acceptable behaviors so that in the future your pooch doesn't take a disliking to nail clipping.