Donald Trump was on the verge of backing a 16-week federal abortion ban earlier this year when aides staged an intervention.