Domestic shares end higher as metal, tech stocks rebound : v