Fix interaction of exprIsCheap and the lone-variable inlining check