Massachusetts’ total revenue collection from July through March came in nearly unchanged from the same period last fiscal year, declining by $4 million, according to a report by the state Department of Revenue.