Restore zend_execute_internal during MSHUTDOWN

See #1254