Did the perp even use an ar 15?
Nope.
My understanding is that he used a shotgun to kill an officer and steal her Mini-14.
So this is indeed cynical political opportunism. They clearly had this ready to go at the first opportunity. This ban would have changed nothing had it been in place before this nut job went on his rampage.