The streaming service had refused ads on topics like gun control and abortion. The policy change is likely to drive more dollars into mid-term election TV campaigns.