Liverpool labored against West Ham and looked like they might drop points — until Virgil van Dijk stepped up.