In modern real life space exploration the time is taken to deorbit probes rather than risk them crashing into and contaminating moons or planets that have even the slightest chance of habitability while Starfleet seems to stand in stark contrast by shooting cadavers or probes off willy-nilly and having to deal with the consequences later.
The crew of the Enterprise happily fired Spock's body at a brand new class-M and accidentally created an entire evolutionary line from just a few microbes stuck to the pod, to say nothing of resurrecting a sentient being.
Voyager had at least one of their dead they shot off into deep space encounter an unknown alien race though they at least were quite pleased to have a freeze-dried corpse to work with.
Has Starfleet ever shown any sign it wants to avoid unnecessary environmental impact on other worlds as they explore in the same way they tiptoe around cultural damage or is it just a case of make sure the biosphere is safe for the crew only and they just hope space burials and probes fired to distract randy flagellating space beasties don't hit something?