See the line:
echo($addOn) ? condition is wrong.
Please note that the echo function always returns void: http://php.net/manual/function.echo.php#refsect1-function.echo-description
Also the $addOn has a logical value and there is no sense to echo it anyway:
https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Backend/view/adminhtml/templates/widget/form/renderer/fieldset/element.phtml#L15-L15
My fix:
Replace echo($addOn) ? to $addOn ?