The prime minister made the promise in an emotional speech during the first parliamentary session since the mass shootings that took 50 lives.