Impact of pions on binary neutron star merger