Update Pattern index validator to prohibit ports that both receive input and send output.