1. Highlight the clip and "strip silence" to split it into a bunch of separate clips the leave out the silent bits
2. Highlight those clips and "shift left within selection" (I might not have that command name exactly right) to collapse them against each other