Millard bought gun days before Babcock disappeared, trial hears