Damn, I'm getting flasbacks from that. I had to make a presentation whether functional necrophilia in animals is adaptive during my master studies. I had to read so many papers discussing the details. Conclusion: not enough evidence to conclude it's adaptive.
Edit fun fact: in the 1920s there was an Antarctic expedition funded by the British Royal Society. The scientists described necrophilia in emperor penguins (I think), but the Society refused to publish the research to not sully the image of the animals. The paper was finally published some time after 2000.