Given a list of video chunks and their playback timestamps, merge overlapping chunks to determine the total unique playback duration.
Treat each chunk as a half-open interval [start, end), so its duration is end - start. The input is a list of [start, end] pairs. Return the total duration covered by the union of all intervals.
def merge_video_chunks(chunks):