There is rationality to Kim's belligerence - it is calculated that his opponents are not willing to risk escalation with a nuclear-capable irrational actor. Now, this calculation drastically changes when you add another belligerent and irrational actor into the mix - Trump. 

What Kim should do instead is introduce UN resolution condemning Trump's conduct, and his irresponsible use of Twitter.