The heroic and selfless actions of the victims ultimately saved lives by preventing the two attackers from penetrating deeper into the building, investigators have said.