Diamondbacks make addition ahead of trade deadline