The state recorded $3.79 billion in life sciences investments, down from a record $10 billion the previous year.