Lebanese army detains 9 people over Beirut violence