Democrats blocked a bill on Monday that would ban most abortions after 20 weeks, a blow to anti-abortion groups that considered its passage a top priority for Congress in 2018.