Extremists loyal to the so-called “Islamic State” in Egypt have attacked a naval patrol ship in the Mediterranean Sea, causing it to burst into flames.