Liberal Democrats look set to back Labour to stay in charge of Edinburgh council in a crunch vote on Thursday.