Don’t call `factory()` before calling to `delegate()` in `moduleFor()`

Allows injections to be specified in the provided `delegate()` function.