Gay marriage bill moves closer to being legalised