Magnificent ring of stars captured by Hubble is the result of two galaxies in head-on collision