Libyan parliament gives confidence to new gov't