The Senate on Thursday reached a breakthrough agreement to vote on legislation that would allow federal funding of embryonic stem cell research.