Armenian foreign minister resigns