Seven heavily-armed Taliban fighters were killed after they attacked near Afghanistan's main airport.