Frankie was not smart enough (as he admitted himself) to plan such a move. michael knew it was Roth and he had a plan to deal with it. He knew that Frankie's actions could derail his plan, so he imposed constraints on Frankie and required him to work out a deal with the Rosatos.
I know it was Roth who tried to have Michael killed.