How to redirect if entry has children?
You have twig syntax ({{...}}) inside twig syntax ({%...%}), which is never right. Does this work?

{% if entry.hasDescendants() %}
  {% redirect entry.getChildren().first().url %}
{% endif %}