refactor($interpolate): cleanup switch statement, curlies unnecessary

Closes #9530