Russia has a vast surveillance network, and a powerful state security force. Why wasn’t it able to prevent Friday’s deadly terrorist attack?