Hollande voices regret over commenting on Algeria's security