Allow to use temporaries in reduced expressions

refs #50