Ukraine 's opposition has ended a blockade of government buildings , hours after parliament adopted a series of electoral reforms and outgoing President Leonid Kuchma signed them into law .