Chiral dynamics and $B\to 3\pi$ decay