Libya parliament agrees direct presidential election