Minnesota cities, towns, nonprofits denied millions of dollars in earmarks