Libyan parliament approves law on legislative elections