YANGON (Reuters) - Myanmar’s military has launched an internal probe into the conduct of soldiers during a counteroffensive that has sent more than half a million Rohingya Muslims fleeing to Bangladesh, many saying they witnessed killings, rape and arson by troops.

Aerial view of a burned Rohingya village near Maungdaw, north of Rakhine state, Myanmar September 27, 2017. REUTERS/Soe Zeya Tun

Coordinated Rohingya insurgent attacks on 30 security posts on Aug. 25 sparked a ferocious military response in the Muslim-majority northern part of Rakhine state that the United Nations has said was ethnic cleansing.

A committee led by military Lieutenant-General Aye Win has begun an investigation into the behavior of military personnel, the office of the commander in chief said on Friday, insisting the operation was justified under Buddhist-majority Myanmar’s constitution.

According to a statement posted on Senior General Min Aung Hlaing’s Facebook page, the panel will ask, “Did they follow the military code of conduct? Did they exactly follow the command during the operation? After that (the committee) will release full information.”

Myanmar is refusing entry to a U.N. panel that was tasked with investigating allegations of abuses after a smaller military counteroffensive launched in October 2016.

But domestic investigations, including a previous internal military probe, have largely dismissed refugees’ claims of abuses committed during security forces’ “clearance operations”.

Thousands of refugees have continued to arrived cross the Naf river separating Myanmar’s Rakhine state and Bangladesh in recent days, even though Myanmar insists military operations ceased on Sept. 5.

Aid agencies estimate that 536,000 people have arrived in the Cox’s Bazar district, straining scarce resources of aid groups and local communities.

About 200,000 Rohingya were already in Bangladesh after fleeing persecution in Myanmar, where they have long been denied citizenship and faced restrictions on their movements and access to basic services.

Myanmar’s de facto leader, Aung San Suu Kyi, has pledged accountability for human rights abuses and says Myanmar will accept back refugees who can prove they were residents of Myanmar.

The powerful army chief has taken a harder stance, however, telling the U.S. ambassador in Myanmar this week that the exodus of Rohingya, who he said were non-native “Bengalis,” was exaggerated.

In comments to Japan’s ambassador carried in state media on Friday, Min Aung Hlaing denied ethnic cleansing was taking place on the grounds that photos showed Muslims “departing calmly rather than fleeing in terror”.

Former U.N. chief Kofi Annan, who led a commission set up by Suu Kyi to find solutions for the ethnically and religiously divided Rakhine, briefed the U.N. Security Council and other key states in an informal closed-door meeting on Friday.

Some council members are exploring if the 15-member body could agree a formal statement or even a resolution to call for an end to the violence, for full aid access, the safe return of refugees, access for a U.N. fact-finding mission to ensure accountability and implementation of Annan’s recommendations.

Annan said he hoped any possible Security Council resolution “urges the government to really press ahead and create conditions that will allow the refugees to return in dignity and with a sense of security, they should not be returned to camps.”