swap left and right in a binary expression