Governor Walz’s party has lost control of the Minnesota Legislature and faces mounting criticism as a budget deficit looms.