Minneapolis avoids layoffs despite cut in state aid