The action by the Senate, which came after months of political wrangling and behind-the-scenes negotiations, shifts the crime issue to the House, where a number of anti-crime measures are pending. Speaker Thomas S. Foley of Washington has vowed that the House will consider these bills, either separately or as part of a crime package, before the next recess, which begins on Aug. 6.