Ruling ANC party, which openly voices solidarity with Palestinian cause, slams judge for venturing into politics with 'unfortunate' comments