vargas homer lifts d’backs past rangers