UN envoy: Myanmar military attempting to legitimize itself