Challenges of deflecting an asteroid or comet nucleus with a nuclear burst