Gay veteran denied military compensation