Donald Trump has been offering mixed messages about the path ahead for the Iran war as the ceasefire deadline approaches.