The prime minister said he would try to push new anti-terror legislation through parliament Wednesday , to help law enforcement agencies fight the threat .