Integrable systems with BMS3 Poisson structure and the dynamics of locally flat spacetimes