Heat oil in a large skillet over medium-high heat. Add the garlic, onions, basil, and oregano and cook until onions begin to brown, about 8 minutes. Add the zucchini and mushrooms, and cook until the vegetables begin to soften, about 8-10 minutes. Add the chopped tomatoes, sundried tomoatoes, red wine and tomato paste and stir to combine. Turn heat to high and bring to a boil, to reduce the wine, cooking for another 6-7 minutes. Remove from heat, and serve with the polenta, either over the polenta or alongside.