Clean Up DOFRegistration and DOFSubscription

The DOFRegistration and DOFSubscription need to be destroyed independent from destroying the DOF. Here we clean up the DOFRegistration and DOFSubscription.

How It Works

The DOFRegistration is used to set up an ongoing register operation, which allows notifications to be received when an event is triggered.