Padres capitalize on late mistakes, down Twins