The UN's top court said it would hand down a much-awaited landmark ruling on Friday in the case against Israel over alleged genocide in Gaza.