LONDON — A U.S. hydrogen bomb nearly detonated on the nation’s east coast, with a single switch averting a blast which would have been 260 times more powerful than the device that flattened Hiroshima, a newly published book says.