Masoud Pezeshkian told Fox News that Tehran would comply with the deal with Washington within the framework of international law