Pinto Bean and Vegetable Tamale Pie