Edge rings with 3-linear resolutions