Hundreds of legislators were sworn into a newly created national parliament, a long-awaited condition of a fragile peace agreement.