Existing-home sales in the US accelerated to their fastest pace of the year in May, providing a dose of optimism after a tepid start of the spring selling season.