Army gives ultimatum in Egypt