Tector, Tucker and McBrine shine as Ireland defy Bangladesh