Re:Silicon Valley Women, in Cultural Shift, Frankly Describe...
by mikeash on Friday June 30, 2017 @11:00PM
(#14675109)
I found this PDF which describes some of the history behind this clause:
http://lawdigitalcommons.bc.edu/cgi/viewcontent.cgi?article=...
It sounds like it was an amendment introduced by a confused lawmaker who wanted to make sure the law wouldn't stop companies from firing Communists. The amendment was then accepted on the basis that it didn't make any difference (since as you note party affiliation isn't protected in the first place), so it wouldn't do any harm to include it.
I wonder if it was just a "safeguard" against members of CPUSA claiming their membership was a religious affiliation.