When you delete subnet and failed, the proper reason is that the subnet line is in used under Associations. Please check both "Global" and "User based" under Associations tab and make the subnet unused.