The deal, struck in November under President Barack Obama, was to see 1800 refugees held in Australian offshore detention centres resettled in the US, but President Trump has thrown the agreement into doubt.