President Donald Trump, who had said the US military would not miss paychecks amid the shutdown, said the administration found funds to pay troops.