Spilling thoughts: configuring attentional resources in infants’ goal-directed actions