Refactor core::run to remove the ProgRepr struct, which was
a legacy from the time when destructors were implemented
using resource types.
auto merge of #6044 : Dretch/rust/run-remove-progrepr, r=graydon

...which was a legacy from the time when destructors were implemented using resource types.