Amplitude Analysis of the Decay anti-B0 → K0S π+ π− and First Observation of the CP Asymmetry in anti-B 0 → K∗(892)− π+