var_main now removes valid restricted var models if the restrictions restrict all terms of the highest lag and there are valid models at the lag it degenerates to. Fixed a bug in iterative_restrict that could occur for zero-lag models.