Dems ‘reached a deal on difficult agriculture issues…clear the way for climate vote’