Two men with terrorism ties allegedly plotted to behead a police officer in Boston, officials said Wednesday. One is now dead and the other in custody.