Amplitude Analysis of the Decay B 0 → KS0 π+π- and First Observation of the CP Asymmetry in B 0 →k∗ (892)-π+