South Africa turns to ICJ over Gaza war