Thousands of Rohingyas flee to rebel territory amid clashes