Beyoncé’s publicist confirmed that the artist will replace an offensive lyric from a song in her latest album, Renaissance.