Both Direct and Indirect Evidence Contribute to Dative Alternation Preferences in Language Models