Billed as vital to democracy, voting legislation collapsed Wednesday when two Democratic senators refused to join their own party in changing Senate rules to overcome a Republican filibuster.