Chase spoiler: Earnhardt Jr. earns first Martinsville Speedway win