Egypt ruling party leaders resign but regime holds