By Richard Cowan and David Morgan WASHINGTON (Reuters) – Democrats and Republicans in the U.S. Senate worked on Thursday to reach a deal to quickly pass a $1.5 trillion bill providing emergency aid to Ukraine and funding the government, avoiding government agency shutdowns at the end of this week. Senate Majority Leader Chuck Schumer said he hoped lawmakers would be able to pass the legislation late on Thursday, a day after it won approval from the House of Representatives. The sweeping measure funds military programs and an array of nondefense operations through Sept. 30. It also provides $13…