Dollar dips against yen, claws back losses against euro