Trump shifts from veiled withdrawal threats to effusive praise at the NATO summit