Hydrogenolytic degradation of thermosets