The Michigan Senate has voted unanimously to bar state and local law enforcement officials from helping the federal government indefinitely detain American citizens without charges.