Myanmar’s generals are using elections, delay and diplomatic ambiguity to slowly rebuild legitimacy while the country remains trapped in a brutal civil war