test-battery: `cylc unregister` where appropriate

Test battery scripts call `cylc unregister` where appropriate.