Senate deal would extend long-term jobless benefits