Makes setImmediate consistent with other returned functions.

`process.nextTick` returns undefined for most browsers, but for IE10+ which use `setImmediate`, it returns the immediateId, which can lead to problems. This makes the api consistent.