Tasmanian Labor breaks election commitment but Liberals keep theirs in gay marriage debate