Eleven militants and seven hostages were killed during a raid by Algerian special forces at an Algerian gas complex.