Heat the olive oil in a large, deep skillet or Dutch oven over medium-high heat. Add the ground beef, break it into small crumbles, and cook undisturbed for 4 to 5 minutes, then stir and cook until no pink remains, about 5 minutes more. Drain off any extra fat.
Add the onion, carrots, and celery and cook for 5 minutes until softened. Stir in the garlic and cook for 1 minute more. Season with salt and pepper.
Sprinkle the flour over the beef and vegetables and stir for 1 minute. Stir in the tomato paste and cook for 1 minute. Pour in the beef broth, red wine, and Worcestershire sauce, scraping up the browned bits. Add the thyme and bay leaves.
Bring to a boil, then reduce the heat to low and simmer uncovered for 25 to 30 minutes, stirring now and then, until thick enough to coat a spoon. Stir in the peas, taste and adjust the seasoning, and remove the bay leaves.
Meanwhile, put the potato chunks in a large pot, cover with cold salted water, and bring to a boil. Reduce the heat and simmer for 15 to 18 minutes until fork-tender. Drain well, then return the pot to the warm burner for 30 seconds to steam dry.
Add the butter to the hot potatoes and mash until melted. Add the warm milk a little at a time and mash until smooth and creamy. Stir in 1/2 cup of the cheddar cheese and season with salt and pepper.
Preheat the oven to 400 F. Spoon the beef filling into a greased 9x13-inch baking dish and spread into an even layer. Let it cool for 10 to 15 minutes if you have time.
Drop spoonfuls of mashed potato over the filling and spread gently to the edges, sealing the filling in. Drag a fork across the top to make ridges and sprinkle with the remaining cheddar.
Set the dish on a baking sheet and bake for 25 to 30 minutes, until the top is golden brown and the filling bubbles at the edges. Broil for the last 2 to 3 minutes if you want extra crunch.
Let the pie rest for 10 minutes before serving.