WASHINGTON (Reuters) – Contracts to buy previously owned U.S. homes surged in July after two straight months of declines as demand rose almost across the board, suggesting the housing market remains on solid ground despite last month’s drop in home resales.