Boris Johnson’s Brexit bill is one step away from becoming law after completing its passage through Parliament.