Fixes SI-8689 by delegating Promise.completeWith to Promise.tryCompleteW...

...ith

as well as deprecates `Promise.completeWith` since it is now redundant.

Backport to 2.11.x and 2.10.x without the deprecation