The killing of a senior Russian general in a bombing outside his apartment building in Moscow was the boldest assassination yet of a top military officer.