Garlicky Potato and Baby Spinach Gratin