[NF] update statement conversion (#12614)- update it to have the correct structure if there is only one branch with condition "true"