Beyonce and Jay Z's 2013 Cuba trip declared legal