Almost £5m of European funding will provide “vital” cash to the fishing sector at a time of “great uncertainty”, says Scotland's rural economy minister Fergus Ewing.