The stunning attack halted withdrawals on the platform and set off a race among digital currency companies to freeze billions in stolen funds.