US dollar ends higher against rupee