The Supreme Court said restricting the seats of women in the Army's Judge Advocate General (JAG) branch is violative of the right to equality.