[promise] Remove other uses of Promise.cast