A bill that would guarantee abortion rights across the U.S. has failed in the Senate.