Those refs are brain dead. Miami obviously gets to decline the penalty. The other was after a change of possession so they weren't offsetting penalties. It should have been a just a 15 yard penalty from the spot of 51's block.
Also if they said both penalties were declined how did the play not...