Senate Democrats blocked a bill Wednesday that would have banned some lawmakers from trading stocks, claiming the legislation didn’t go far enough.