The Senate on Monday passed a bill that would require federal authorities to detain migrants accused of theft and violent crimes.