Hasselback Potatoes with Pesto