'Trapped' protesters in Myanmar allowed to leave after tense standoff