There was no direct way to prevent the Boston murders. There are some easy ways to prevent likely future ones: by not inciting them. That's also true of another case of a suspect murdered, his body disposed of without autopsy, when he could easily have been apprehended and brought to trial: Osama bin Laden.
Noam Chomsky (2015). “Because We Say So”, p.106, City Lights Books