Lebanon’s militant Hezbollah group and its allies lost their parliamentary majority, while more than a dozen independents gained seats, according to final tally released Tuesday.