Dodgers starter avoids injury but allows four runs on nine hits in four innings against the Giants on Tuesday