1Preheat the oven to 350F. In a large skillet set over medium-high heat, cook the ground beef, breaking it up with a spoon, until it’s no longer pink. Meanwhile, boil the onion in a small pot of water for a few minutes, then drain and add to the meat along with the garlic and merkén. Cook, seasoning with salt, until the meat is browned and excess moisture has cooked off.
2Slice the kernels off the cobs of corn and place in the bowl of a food processor with the fresh basil. Pulse until well blended, but not completely smooth. To assemble, spread the meat mixture into the bottom of a casserole dish or individual oven-safe baking dishes and top with chicken, eggs and olives. Spread the corn mixture over each, right to the edge of the baking dish, and sprinkle evenly with sugar.
3Bake until the top is golden and the pies are heated through and bubbly around the edges. Serves 6.