Eggs en Cocotte with Spinach and Pistachio Pesto