Revise conditions under which dojo/when creates a promise; fixes #16667 in trunk !strict