The ruling deals a setback to Israel’s efforts to overturn the arrest warrant for Prime Minister Benjamin Netanyahu.