Mars and Hershey have ended their legal spat over the chocolate giants respective Maltesers and Malteser trademarks in the US.