How a GOP rift over tech regulation doomed a ban on state AI laws in Trump’s tax bill