Anthem Inc. said that if it doesn’t quickly get more certainty about the future of the Affordable Care Act exchanges, it will likely further pull back its planned participation for next year, a threat that adds to the pressure on Senate Republicans as they struggle to pass health-care legislation.