Hotplug script bug fix. Variable could be assigned a value of multiple duplicate lines.

In my case I had two policies and when going through the second policy the variable $iface would equal "wan\nwan" rather than the desired "wan" and the proposed fix should remove the duplicate lines should they exist.