Myanmar agrees to tackle causes of migrant crisis- Thai official