South Africa has filed an "urgent request" with the U.N.'s top court over Israel's military operations in Rafah.