Algeria plans to reopen Tripoli embassy