Seol mar théacs é seo: Infants tailor their attention to maximize learning