Include promise allsettled polyfill where it is missing (#386)