There were fears in Australia that Mr Trump - who made a hardline approach to immigration one of the hallmarks of his election campaign - could tear up the agreement, which the Turnbull government had spent the better part of this year securing.