Add infrastructure to destruct products in function parameters.

1 job for ci/destruct_params in 14 minutes and 52 seconds (queued for 2 seconds)