Like anything else that dies, it will foul the water. Considering its relatively small mass, it won't be much, but remove it or hope something eats it. Do you have fish or snails living with your shrimp? I'm sure they, along with any other shrimp, will pick at and eat the dead shrimp.