The K-pop star’s second collaboration with the Apple-owned Beats nods to “Ruby,” her debut studio album.