Adds async handling to binary:emitbranchable. Fixes #13362