Trump gave the military freer rein for offensive hacking. Security experts say that’s a good idea.