Role of triaxiality in deformed halo nuclei