fixes #6126 - deleting a subnet that is associated with a host group throws foreign key error

there is a FK in the db, but I'm wondering if there should be. After a host is created, the compute_profile is no longer used and not displayed on the host edit page.