The S&P 500 and the Nasdaq advanced on Tuesday as solid big bank results and a cooler-than-expected inflation report boosted risk appetite amid rising Middle East tensions. A rebound in chip shares put the Nasdaq out front, while the Dow’s gains were more subdued. The Labor Department’s Consumer Price Index showed inflation cooled more than analysts expected in June, largely due to abating energy price pressures amid last month’s signs of progress in U.S.-Iran peace negotiations. U.S….