The move buys good will with President Trump while costing the Russian leader, Vladimir V. Putin, little.