Panama rallies to beat reigning champion PR