U.S. stocks ended mixed on Tuesday, as investors remained hopeful that progress in negotiations would be made at the eleventh hour with Iran since President Donald Trump's deadline for Tehran to open the Strait of Hormuz neared.