Remove use of upper-bounded wildcard types in Promise.sequence