Technically, Frankie wasn't killed. He took himself out with Tom's convincing him his family would be taken care of. However, I'm not sure that was even necessary. He was in jail and was a known perjurer. The government couldn't afford to believe anything that came out of his mouth at that point. He could have been left to rot in jail for the rest of his life.