Fernando Tatis Jr.’s 10th-inning RBI single caps Padres’ rally past Tigers