Senate passes amended immigration reform bill