Celtic held on to beat Hibernian to cut the gap at the top of the Scottish Premiership as Martin O'Neill's winning Premiership return continued.