The Senate on Thursday moved to bar senators from being paid during government shutdowns.