President Donald Trump again blamed Democrats for the stall in talks over a potential immigration deal as the threat of a government shutdown looms.