Make `Promise.from` create an optimized pseudo-promise