The US Senate has passed a major bill addressing illegal immigration, which is now poised to be signed into law by President Donald Trump, marking a significant step in his immigration reform agenda.