Minnesota's shutdown nears an end