President Trump's move to end a program that protects immigrants brought to the US as children is blocked.