Cast from list in Tuple traitlet

for ipython/ipython#5221