Re add Elemwise.perform inplace.

It was making too much tests fail, but it still should keep the opt I wanted.