Trump says the U.S. will share closely held tech with South Korea to build a nuclear-powered submarine