Deallocate port before trying to delete iptables chain

Problem was that if there is some error on chain delete, then we don't deallocate port in portallocator.
Fixes #7954 
This is dead code and will never be hit because in the switch block we `return`