US President Donald Trump said Washington has agreed to resume talks with Iran at Tehran's request but declared the ceasefire between the two countries is "over."