SAN FRANCISCO—Alphabet's second-quarter profit exceeded Wall Street expectations on Tuesday and the Google parent announced that its long-time CFO, Ruth Porat, would assume a new role while the company sought a new finance chief. Alphabet's results were helped by steady ...