Myanmar elects ex-militia leader to chair parliament