To be honest, I'd eat them. It seems kind of pointless to avoid them, and it would be a waste IMO. (I'm not sure how much sense that makes.)
Unless you're allergic to shellfish or are into the whole purity aspect of vegetarianism.
Hm, there are yellow, green, orange-brown, red and black orrecchiette in the bag, so if I sort the black ones out, I still have a decent bowl of pasta left.

I think I would feel queezy eating something coming from a squid, especially as I don't know how the ink is gotten from it.
I really don't like the idea of throwing away food. (I was a little shocked when my friend told me she threw out all butter, cheese (a big chunk of parmesan, too) and so on, when she decided to become vegan. She could have given it to her flat mate, I think. Oh, I could give the pasta to
my neighbour.

(We share/swap food anyway, this is not as strange as it may sound, or is it?)
I think it's very important what you buy, you make a difference by buying the right things (oh, the power of your grocery list

but it's true), but when it's already bought... I wouldn't want to eat the black pasta though, this is just too weird.
As for shoes for example I think it's more let's say economic to wear off your leather shoes or your wool sweater first before buying new stuff (because my guess is that producing an additional pair of leather free shoes or another sweater is still more environmentally 'harmful' (too strong a word but I can't find a better translation) than producing none) If you are one of those who would always feel reminded that "an animal died for my shoes", ok. Give them away. But I think it's about preserving resources too.