Maint: Remove `registerTrigger()` function

Remove the `registerTrigger()` function from the trigger modules. We can
create new objects for these modules directly from the `createTrigger()`
function in the trigger factory.