The effective field theory of dark energy diagnostic of linear Horndeski theories after GW170817 and GRB170817A