Egypt foreign minister resigns