Mr. Putin shifted Sergei Shoigu to run the security council, and nominated an economist to run the defense ministry.