Replace `if (!literal)` with `else`