Rectifying Einstein-Gauss-Bonnet inflation in view of GW170817