President Trump has hinted at support for a new nuclear deal with Iran, but what would a new agreement mean for Barack Obama's legacy?