The Indian rupee ended marginally higher on Tuesday, breaking its four-day losing streak as state-run banks and foreign lenders sold dollars.