Following an all-day debate, countless amendments and constant unfriendly interjections, the NSW upper house approved Premier Mike Baird’s legislation to lease 49% of the state’s electricity distribution network.