Pilot anmodede om nødlanding på grund af elektrisk fejl, før privatfly med Libyens hærchef styrtede ned.