The Ukrainian military has mounted an unexpectedly fierce defense against invading Russian forces, which have been dogged by logistical problems and flagging morale. But the war is barely two weeks old, and in Washington and European capitals, officials anticipate that the Russian military will reverse its early losses, setting the stage for a long, bloody insurgency.