By underestimating Ukrainian resistance, Putin repeats the mistakes of his Soviet predecessors in Afghanistan