Monkey patch conversion of SymPy Piecewise to Theano object to use ifelse instead of switch (lazy evaluation)