The expected deal comes after eight Senate Democrats broke ranks, joining Republicans. Here's how it happened and when the next vote is.