Israel’s attorney-general warns Netanyahu against judicial overhaul