State invests millions in emergency coastal restoration funds