Fix magn3979 ternary operator should act on each item of a list

This pull request fixes defect [MAGN 3979 ternary operator should act on each item of a list](http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-3979)

In short, inline condition will support replication on all its inputs. Originally it only supports replication on its condition. The new signature of inline condition is

As ``If`` node is compiled to inline condition, now it supports replications on all its inputs as well. 

@lukechurch 
@junmendoza 

please review the changes.