Robert Fico, Slovakia’s prime minister, said Saturday that he had accepted the resignation of Lajcak, his national security adviser.