A system that will lessen traffic congestion by switching traffic lights from red to green for the Scottish capital’s buses has been approved by the city council.