Preheat the oven to 350°F (180°C). In a large bowl, toss the beef pieces with the flour, salt, and black pepper until well coated.
Heat 2 tablespoons of oil in a large Dutch oven over medium heat. Brown the beef in batches, turning to sear all sides. Transfer the browned meat to a plate.
Add the remaining 1 tablespoon of oil and the chopped onions to the pot. Cook for 5 minutes, scraping up any browned bits from the bottom of the pan.
Return the beef to the pot. Pour in the beef broth and add the bay leaf. Bring to a boil, cover, and transfer to the oven for 1 1/2 hours until the beef is tender and reaching a safe internal temperature of 145°F (63°C) with a 3-minute rest.
Remove the pot from the oven and discard the bay leaf. In a small bowl, whisk the cornstarch and cold water. Stir this slurry into the hot beef mixture until the gravy thickens. Let the filling cool to room temperature.
Preheat the oven to 425°F (220°C). Cut thin strips from one sheet of puff pastry. Press these strips around the rim of a 9-inch pie dish, using a dab of water to help them stick.
Spoon the cooled beef filling into the dish. Brush the pastry rim lightly with water. Place the second sheet of puff pastry over the top, pressing the edges to seal. Trim any overhang and crimp the edges with a fork.
Whisk the egg and milk together in a small bowl. Brush the egg wash over the pastry lid and cut three small slits in the center for steam to escape.
Bake for 15 minutes. Reduce the oven temperature to 375°F (190°C) and bake for another 20 to 25 minutes until the pastry is puffed and deep golden brown.