WASHINGTON — President Donald Trump on Wednesday reached a deal with Democratic leaders of Congress to avert an economy-shaking fiscal crisis at the end of the month, a sudden move that caught Republican leaders off guard and severely undercut their legislative strategy. Under the deal, the first of significance that the president has reached with Democrats,…