Myanmar warns violence could threaten reforms