move integer abs optimisation from backend to the middleend