Forty countries in a U.S.-led alliance plan to sign a pledge never to pay ransom to cybercriminals and to work toward eliminating the hackers’ funding mechanism, a senior White House official said on Tuesday.