Millions of pounds to be invested to make roads across Essex safer