That reality may be behind Mr. Trump’s expressed interest in holding onto at least parts of the law, particularly provisions that bar insurers from denying insurance on the basis of preexisting conditions and which allow people to keep their older children on parents’ plans.