Fix: disconnected_inputs arg not getting passed from jacobian to grad

When the expression passed to `jacobian()` is a scalar, the work is passed off to `grad()`, but the `disconnected_inputs` argument doesn't get passed as well.