U.S. equities ended the day lower in a choppy trading session as the markets sifted through a host of earnings results, as well as news of the sudden resignation of the U.K.'s prime minister.