_remove_unused_security_group_info is refactored into smaller functions, to make this block easier to understand. Implements blueprint refactor-iptables-firewall-driver Change-Id: I4107f1a702d059337e7b2d701a5d0372ee2cfe11