Amplitude analysis of B- →d+π-π- decays