As President Trump’s deadline for new attacks loomed, Iran conveyed its conditions through Pakistani intermediaries.