The attack appeared to be the latest targeted assassination of a senior military official inside Russia’s borders.