(Reuters) - The three major U.S. stocks indexes ended higher on Friday, snapping three days of losses, as investors bet on slower U.S. rate hikes, but gains were muted by increasingly aggressive exchanges between the United States and North Korea.