Moderna stock led the index after melanoma vaccine data, while a hedge fund's forced unwind turbocharged a rebound in enterprise software