Existing homes in June declined due to high prices and mortgage rates, marking the slowest pace since 2010.