Braising the fennel and simmering the potatoes in cream before assembling the gratin infuses them with extra flavor.