Source: Ross, Diamondbacks agree to deal