Hunk of rock that streaked by the planet was detected mere hours before flyby, 'would have gone off like a very large nuclear weapon'