Make `_.defer` use `setImmediate` if available.
Remove `setImmediate` use in the `lodash legacy` build and cleanup patterns.