A second US federal judge has blocked President Donald Trump's attempt to end birthright citizenship, an order he had passed on the first day after assuming power on January 20.