The quartic effective action of the heterotic string and supersymmetry