Opposition says it will back or put forward amendment for public vote if its alternative to Theresa May’s Brexit plan is voted down by MPs