Much as I hate Reagan, I doubt that he made a secret deal with Iran to hold the hostages for longer. If he had they most likely would have been released shortly after the election, instead of on inauguration day. It seems likely that the timing was in intentional dig at Carter from the Iranians.