UCI would only apply if his local command authority endeavors to court martial the major, highly unlikely. The major was not on active-duty when he filed the TRO application with the district court. As such, it would be impossible to court martial for such an action.
However, active duty as well as reserve officers serve at the pleasure of the president. What does that mean? It means that they don't have an inherent right to be officers. As such, the HQDA may seek to administratively release the major from service by of something called an "involuntary separation".
I won't go into all the gory details, but essentially (with some rare exceptions), if the DOD wants to get rid of an officer, there's really not much that's going to stop them. The hearing, held by a board that's operating under a LOI from HQDA, is really only a formality, in a practical sense. If they are out to get rid of an officer, there's not much hope of him saving his job at the hearing. At least that's my experience in the Navy boards which I've participated.
http://www.freerepublic.com/focus/news/2294045/posts?page=22#22