Govt, opposition agree over formula for parliamentary committees